We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Temporarily hardcoded in at https://github.com/robinpowered/react-native-android-shared-preferences/blob/develop/src/main/java/com/robinpowered/react/SharedPreferencesModule.java#L19, this should be assignable in the JS context. Currently hardcoded to prevent BC in Rooms, but will be opened up to a custom assignment.
The text was updated successfully, but these errors were encountered:
For now, I modified the code to pass it as a variable from MainActivity.java when adding the package.
MainActivity.java
.addPackage(new SharedPreferencesPackage(this, "customPackageName")
This seems most straightforward for now. What are you planning for this feature?
Sorry, something went wrong.
We were considering two approaches -- the one you describe and the ability to do this from the JS side to allow for more than one name.
No branches or pull requests
Temporarily hardcoded in at https://github.com/robinpowered/react-native-android-shared-preferences/blob/develop/src/main/java/com/robinpowered/react/SharedPreferencesModule.java#L19, this should be assignable in the JS context. Currently hardcoded to prevent BC in Rooms, but will be opened up to a custom assignment.
The text was updated successfully, but these errors were encountered: