-
Notifications
You must be signed in to change notification settings - Fork 763
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
Is there any documentation to setup it correctly for version greater then 60. #396
Comments
Same problem here, i tried everything, and nothing works...
|
I'm also have some issue just like @pipoblak |
I am using version 2.0.6 with react-native 0.61.2. It works fine on android, but got error during manually link on iOS. Could not build the app on xcode. |
Also cant get this to work on |
I was able to make it work with the version 2.1.5 and RN 0.61.2 Android module.exports = {
dependencies: {
'react-native-notifications': {
platforms: {
android: null
},
},
},
} add to the settings.gradle:
build.gradle:
app/build.gradle:
MainApplication.java: private final ReactNativeHost mReactNativeHost =
@Override
protected List<ReactPackage> getPackages() {
@SuppressWarnings("UnnecessaryLocalVariable")
List<ReactPackage> packages = new PackageList(this).getPackages();
//add the package here (note the this.getApplication())
packages.add(new RNNotificationsPackage(this.getApplication()));
return packages;
} Ios
And follow the steps here :https://github.com/wix/react-native-notifications/blob/2.1.5/docs/installation.md |
hi @msantang78 i did what you said for Android and here is what I have
How can I import the package ? [EDIT] Found it in the docs |
Thank you for this. It is very useful. In addition, to what you said,
|
where can i find react-native.config.js file? @Bilal-Abdeen @msantang78 |
@reactdevrocks You can create this file at the root of your project (in the same folder where package.json file is.) |
thank you for the above solution @Bilal-Abdeen |
Even after the changes above it still doesn't recognise the argument for me :(
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
The issue has been closed for inactivity. |
Really hate those bots that close an unresolved issue... what the point ?? |
I'm unable to makeít work. I have
And i receive:
I try even manual linking. I read everithing i could found. |
Please, double-check that you have followed the latest installation instructions, specifically the step to update the app/build.gradle file. |
That step is needed only if: |
Hey, creating the config file in my root folder doesn't seem to be disabling auto-linking for android. Am I missing a setup process or something? EDIT: Nevermind! It was actually a different error I was getting. It's fixed! |
No description provided.
The text was updated successfully, but these errors were encountered: