Closed Return-1 closed 5 years ago
Hi @Return-1,
Checking it.
@Return-1,
Just to make sure, did you place google-services.json to your android/app/
directory as per our guide? Is your app connected to a Firebase project for which this file was generated?
On other projects im using this plugin the google-services.json is in place. In this one however i was attempting to only use the localNotification functionality and since the app is not connected to any Firebase project there is no google-services.json.
Is there a way around this so the localNotification functionality can work without creating a Firebase project?
@Return-1 ,
The google-services.json file is required for initializing Pushwoosh SDK, so it should persist in your project. However you only need the file to exist in android/app/
and to contain your application's package name, Sender ID value should not necessarily match any real Firebase project. However you will still need a Sender ID to call Pushwoosh.init()
, so I still recommend connecting the app to Firebase.
Thank you i will follow that approach. I think we can mark this as resolved.
One final question which im not sure where it is i need to address ( upon direction i shall delete this comment ). Creating a local notification yields no sound. Is there a way to do that? Nothing of the sort is shown in the documentation.
@Return-1,
Just checked it and indeed there is no way to control sound in local notifications in React Native. Since controlling sounds is a bit off-topic, may I ask you to create a new issue in this repo for it?
The newly released 5.17.0 version and android wont build. removing
pushwoosh-react-native-plugin
yields a succesful build.A few potentially helpful pointers:
also
potentially refer to: #67