Hello
I have created new application and i install react-native-firestack with link for android and I have a error:
config / releases
"dependencies": {
"firebase": "^4.9.0",
"react": "16.2.0",
"react-native": "0.52.0",
"react-native-firestack": "^2.3.9"
},
ERROR
/Users/main/Documents/workReacNAtive/daniel/node_modules/react-native-firestack/android/src/main/java/io/fullstack/firestack/FirestackCloudMessaging.java:127: error: cannot access zza
RemoteMessage remoteMessage = intent.getParcelableExtra("data");
^
class file for com.google.android.gms.common.internal.safeparcel.zza not found
/Users/main/Documents/workReacNAtive/daniel/node_modules/react-native-firestack/android/src/main/java/io/fullstack/firestack/FirestackMessagingService.java:29: error: no suitable method found for putExtra(String,RemoteMessage)
i.putExtra("data", remoteMessage);
^
method Intent.putExtra(String,boolean) is not applicable
(argument mismatch; RemoteMessage cannot be converted to boolean)
method Intent.putExtra(String,byte) is not applicable
(argument mismatch; RemoteMessage cannot be converted to byte)
method Intent.putExtra(String,char) is not applicable
(argument mismatch; RemoteMessage cannot be converted to char)
method Intent.putExtra(String,short) is not applicable
(argument mismatch; RemoteMessage cannot be converted to short)
method Intent.putExtra(String,int) is not applicable
(argument mismatch; RemoteMessage cannot be converted to int)
method Intent.putExtra(String,long) is not applicable
(argument mismatch; RemoteMessage cannot be converted to long)
method Intent.putExtra(String,float) is not applicable
(argument mismatch; RemoteMessage cannot be converted to float)
method Intent.putExtra(String,double) is not applicable
(argument mismatch; RemoteMessage cannot be converted to double)
method Intent.putExtra(String,String) is not applicable
(argument mismatch; RemoteMessage cannot be converted to String)
method Intent.putExtra(String,CharSequence) is not applicable
(argument mismatch; RemoteMessage cannot be converted to CharSequence)
method Intent.putExtra(String,Parcelable) is not applicable
(argument mismatch; RemoteMessage cannot be converted to Parcelable)
method Intent.putExtra(String,Parcelable[]) is not applicable
(argument mismatch; RemoteMessage cannot be converted to Parcelable[])
method Intent.putExtra(String,Serializable) is not applicable
(argument mismatch; RemoteMessage cannot be converted to Serializable)
method Intent.putExtra(String,boolean[]) is not applicable
(argument mismatch; RemoteMessage cannot be converted to boolean[])
method Intent.putExtra(String,byte[]) is not applicable
(argument mismatch; RemoteMessage cannot be converted to byte[])
method Intent.putExtra(String,short[]) is not applicable
(argument mismatch; RemoteMessage cannot be converted to short[])
method Intent.putExtra(String,char[]) is not applicable
(argument mismatch; RemoteMessage cannot be converted to char[])
method Intent.putExtra(String,int[]) is not applicable
(argument mismatch; RemoteMessage cannot be converted to int[])
method Intent.putExtra(String,long[]) is not applicable
(argument mismatch; RemoteMessage cannot be converted to long[])
method Intent.putExtra(String,float[]) is not applicable
(argument mismatch; RemoteMessage cannot be converted to float[])
method Intent.putExtra(String,double[]) is not applicable
(argument mismatch; RemoteMessage cannot be converted to double[])
method Intent.putExtra(String,String[]) is not applicable
(argument mismatch; RemoteMessage cannot be converted to String[])
method Intent.putExtra(String,CharSequence[]) is not applicable
(argument mismatch; RemoteMessage cannot be converted to CharSequence[])
method Intent.putExtra(String,Bundle) is not applicable
(argument mismatch; RemoteMessage cannot be converted to Bundle)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
:react-native-firestack:compileReleaseJavaWithJavac FAILED
Hello I have created new application and i install react-native-firestack with link for android and I have a error: config / releases "dependencies": { "firebase": "^4.9.0", "react": "16.2.0", "react-native": "0.52.0", "react-native-firestack": "^2.3.9" },
ERROR /Users/main/Documents/workReacNAtive/daniel/node_modules/react-native-firestack/android/src/main/java/io/fullstack/firestack/FirestackCloudMessaging.java:127: error: cannot access zza RemoteMessage remoteMessage = intent.getParcelableExtra("data"); ^ class file for com.google.android.gms.common.internal.safeparcel.zza not found /Users/main/Documents/workReacNAtive/daniel/node_modules/react-native-firestack/android/src/main/java/io/fullstack/firestack/FirestackMessagingService.java:29: error: no suitable method found for putExtra(String,RemoteMessage) i.putExtra("data", remoteMessage); ^ method Intent.putExtra(String,boolean) is not applicable (argument mismatch; RemoteMessage cannot be converted to boolean) method Intent.putExtra(String,byte) is not applicable (argument mismatch; RemoteMessage cannot be converted to byte) method Intent.putExtra(String,char) is not applicable (argument mismatch; RemoteMessage cannot be converted to char) method Intent.putExtra(String,short) is not applicable (argument mismatch; RemoteMessage cannot be converted to short) method Intent.putExtra(String,int) is not applicable (argument mismatch; RemoteMessage cannot be converted to int) method Intent.putExtra(String,long) is not applicable (argument mismatch; RemoteMessage cannot be converted to long) method Intent.putExtra(String,float) is not applicable (argument mismatch; RemoteMessage cannot be converted to float) method Intent.putExtra(String,double) is not applicable (argument mismatch; RemoteMessage cannot be converted to double) method Intent.putExtra(String,String) is not applicable (argument mismatch; RemoteMessage cannot be converted to String) method Intent.putExtra(String,CharSequence) is not applicable (argument mismatch; RemoteMessage cannot be converted to CharSequence) method Intent.putExtra(String,Parcelable) is not applicable (argument mismatch; RemoteMessage cannot be converted to Parcelable) method Intent.putExtra(String,Parcelable[]) is not applicable (argument mismatch; RemoteMessage cannot be converted to Parcelable[]) method Intent.putExtra(String,Serializable) is not applicable (argument mismatch; RemoteMessage cannot be converted to Serializable) method Intent.putExtra(String,boolean[]) is not applicable (argument mismatch; RemoteMessage cannot be converted to boolean[]) method Intent.putExtra(String,byte[]) is not applicable (argument mismatch; RemoteMessage cannot be converted to byte[]) method Intent.putExtra(String,short[]) is not applicable (argument mismatch; RemoteMessage cannot be converted to short[]) method Intent.putExtra(String,char[]) is not applicable (argument mismatch; RemoteMessage cannot be converted to char[]) method Intent.putExtra(String,int[]) is not applicable (argument mismatch; RemoteMessage cannot be converted to int[]) method Intent.putExtra(String,long[]) is not applicable (argument mismatch; RemoteMessage cannot be converted to long[]) method Intent.putExtra(String,float[]) is not applicable (argument mismatch; RemoteMessage cannot be converted to float[]) method Intent.putExtra(String,double[]) is not applicable (argument mismatch; RemoteMessage cannot be converted to double[]) method Intent.putExtra(String,String[]) is not applicable (argument mismatch; RemoteMessage cannot be converted to String[]) method Intent.putExtra(String,CharSequence[]) is not applicable (argument mismatch; RemoteMessage cannot be converted to CharSequence[]) method Intent.putExtra(String,Bundle) is not applicable (argument mismatch; RemoteMessage cannot be converted to Bundle) Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 2 errors :react-native-firestack:compileReleaseJavaWithJavac FAILED
Some help me please?
Thk