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

Bucket works on iOS, not Android? #7

Open
KjellConnelly opened this issue Mar 10, 2018 · 4 comments
Open

Bucket works on iOS, not Android? #7

KjellConnelly opened this issue Mar 10, 2018 · 4 comments

Comments

@KjellConnelly
Copy link

I was able to get the bucket to save/load data between apps using App Groups for iOS... but it's not loading Android data between apps for Android. It saves the data, but only to that single app's container. Is there something I need to add to AndroidManifest.xml or something? I have googled around and it seems like I need to add: android:sharedUserId="some.string"

But when I add that, and even uninstall and reinstall both apps: The first app runs fine, but the 2nd app installed will just crash on load (whichever I install second will crash). I am guessing that having two apps with sharedUserId isn't allowed anymore. Any ideas?

@Noitidart
Copy link

Also curious about this thing.

@i25878427
Copy link

@KjellConnelly Did you get this issue solve? I am having the same problem

@KjellConnelly
Copy link
Author

I created my own module. Not tested with the most current React Native version, but works for me at v0.41:

npm react-native-shared-group-preferences

@i25878427
Copy link

@KjellConnelly Thanks, I will check it out

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