java.io.IOException: INVALID_PARAMETERS
See original GitHub issueHello, i use you react-native-push-notification,run on the Android Api 27. Then in the RNPushNotificationRegistrationService
class occur bellow error;
call(in the RNPushNotificationRegistrationService.java ):
try {
String SenderID = intent.getStringExtra("senderID");
InstanceID instanceID = InstanceID.getInstance(this);
String token = instanceID.getToken(SenderID,
GoogleCloudMessaging.INSTANCE_ID_SCOPE, null);
sendRegistrationToken(token);
} catch (Exception e) {
Log.e(LOG_TAG, TAG + " failed to process intent " + intent, e);
}
error:
NPushNotification failed to process intent Intent { cmp=com.lalamove.huolala.lalaclient/com.dieam.reactnativepushnotification.modules.RNPushNotificationRegistrationService (has extras) }
java.io.IOException: INVALID_PARAMETERS
at com.google.android.gms.iid.zzaf.zzk(Unknown Source:420)
at com.google.android.gms.iid.zzaf.zzj(Unknown Source:0)
at com.google.android.gms.iid.zzaf.zzd(Unknown Source:180)
at com.google.android.gms.iid.InstanceID.zze(Unknown Source:60)
at com.google.android.gms.iid.InstanceID.getToken(Unknown Source:98)
at com.dieam.reactnativepushnotification.modules.RNPushNotificationRegistrationService.onHandleIntent(RNPushNotificationRegistrationService.java:25)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:76)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.os.HandlerThread.run(HandlerThread.java:65)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:7
Top Results From Across the Web
android - java.io.IOException: INVALID_PARAMETERS while ...
While my GCM server is implemented, in implementing the GCM client, I get the exception: java.io.IOException: INVALID_PARAMETERS at this ...
Read more >InvalidParameterException (Java Platform SE 7 )
This exception, designed for use by the JCA/JCE engine classes, is thrown when an invalid parameter is passed to a method. See Also:...
Read more >Get an InvalidParameter error when trying to send a fax ...
I just quick looked at your code and thought that it was C#. Here is the example to send a Fax message using...
Read more >Connection leak when executing query with invalid parameters
Executing such query and writing parameters into the OutputStream (i.e. when calling "ComQuery.sendSubCmd"), results in "java.io.
Read more >Nextflow exits with AwsBatch executor - S3 multipart upload ...
... java.io.IOException: Failed to upload multipart data to Amazon S3 at com.upplication.s3fs. ... Error for part: 10022 Caused by: java.io.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have this correctly in the .configure method and I still receive this error. Any other places to look or indication as to what this error means and how to solve?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.