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

Not Working with targetSDKversion 29 #961

Open
duckmyanmar opened this issue Nov 24, 2020 · 3 comments
Open

Not Working with targetSDKversion 29 #961

duckmyanmar opened this issue Nov 24, 2020 · 3 comments

Comments

@duckmyanmar
Copy link

I use old version targetSdkVersion 28 it module RNFS.writeFile was working fine. But not long ago google support moving to level 29, The module is failing.

@armilano
Copy link

Same here dude.The module is failing at Android 10 but I try in Android 9 ,it's work!

@duckmyanmar
Copy link
Author

I try resolve issue.

In android\app\build.gradle , make these changes:

compileSdkVersion 29
targetSdkVersion 29

Even with this in my Manifest :

<manifest ... >
    <!-- This attribute is "false" by default on apps targeting Android Q. -->
    <application android:requestLegacyExternalStorage="true" ... >
     ...
    </application>
</manifest>

it will work.
I hope this fix is save to you @armilano

@guofoo
Copy link

guofoo commented May 7, 2021

Trying to tie together all the related issues to the root issue: #998

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

No branches or pull requests

3 participants