Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug in conversion of boolean values from RN to ObjC for downloadFile() #47

Merged
merged 1 commit into from
May 30, 2024

Conversation

stetbern
Copy link

Boolean values were not correctly converted from RN to ObjC for downloadFile(), so all values were always true.

The PR fixes the problem, the values specified by the user from RN are now also used in the native iOS part.

The background download mode is no longer started automatically, the “discretionary” flag is no longer automatically set to true.

The “cacheable” flag can now also be set to false by the user.

The explanation of “discretionary” in the readme has been clarified.

@birdofpreyru birdofpreyru changed the base branch from master to dev-v2.25 May 30, 2024 10:36
@birdofpreyru birdofpreyru merged commit 6d09a74 into birdofpreyru:dev-v2.25 May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants