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

README for react-native 0.31 #70

Open
Olexiy665 opened this issue Aug 23, 2016 · 3 comments
Open

README for react-native 0.31 #70

Olexiy665 opened this issue Aug 23, 2016 · 3 comments

Comments

@Olexiy665
Copy link

Please, update README.md for usage your excellent plugin with react-native 0.31.

@micsay
Copy link

micsay commented Aug 30, 2016

[email protected]

:react-native-system-notification:compileReleaseJavaWithJavac
E:\reactNative\Camera\node_modules\react-native-system-notification\android\src\main\java\io\neson\react\not
ification\FCMNotificationListenerService.java:9: error: package com.google.firebase.messaging doesn't exist
import com.google.firebase.messaging.FirebaseMessagingService;

@micsay
Copy link

micsay commented Aug 30, 2016

For usage ,we can use command react-native link react-native-system-notification except for AndroidManifest.xml, if you meet the same question oferror: package com.google.firebase.messaging doesn't exist ,you could solve by edit build.gradle inreact-native-system-notification\android:
From

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    compile 'com.facebook.react:react-native:0.19.+'
    compile 'com.google.code.gson:gson:2.3.+'
    compile 'com.android.support:appcompat-v7:23.0.1'
    compile 'com.android.support:support-annotations:+'
    compile 'com.google.android.gms:play-services-gcm:9.0.1'
    compile files('libs/js.jar')
}

To

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    compile 'com.facebook.react:react-native:0.19.+'
    compile 'com.google.code.gson:gson:2.3.+'
    compile 'com.android.support:appcompat-v7:23.0.1'
    compile 'com.android.support:support-annotations:+'
    compile 'com.google.firebase:firebase-messaging:9.0.1'
    compile 'com.google.android.gms:play-services-gcm:9.0.1'
    compile files('libs/js.jar')
}

@krapspark
Copy link

so should someone create a PR that includes the firebase dependency?

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