GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — FirestackMessagingService.java:29: error: no suitable method found for putExtra(String,RemoteMessage) · Issue #350 · fullstackreact/react-native-firestack

FirestackMessagingService.java:29: error: no suitable method found for putExtra(String,RemoteMessage) #350

New issue
Copy link
New issue
Copy link
Open
Open
FirestackMessagingService.java:29: error: no suitable method found for putExtra(String,RemoteMessage)#350
Copy link

Description

@jotamayo
jotamayo
opened on Jan 21, 2018
Issue body actions

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.