Open sairajkishore opened 7 years ago
@sairajkishore It should work. I am using an Android O device for testing, it works. To get Android O based push notifications features we need to change the Notification Builder. We will release that soon.
Also could you please update 1.Sample App for Android O support. 2.Also Library for Android O support which includes FCM libraries.
@sairajkishore We will do that during the new sdk release
Any idea when it could be in and around? as i just want to plan for my next release?
@sairajkishore Do you want the specific Android O features to be available in SDK ?
As Notification Manager changes is required to support Android O and Notification stuff is a part of SDK ,so we need updated SDK.
If you want to try , please try to extend the com.ibm.mobilefirstplatform.clientsdk.android.push.api.MFPPushIntentService.java
file
@sairajkishore Without any modification in the current code Android O devices will get notifications. But this will not have any android O features. Are you able to get notifications in Android O ?
If the preconditions are Build project with android O and target SDK is O, installed on android O device we are getting notification event but Notification manager does not show notification popup, that is the existing issue am facing.Earlier build for target 7 on O devices notification used to come.
in order to get this we need to set channel for Notification manager in O also fire base library also should be updated if we refer O documentation.So modifications are required definitely.
@sairajkishore Yes I know that . I will let you know once its done.
Also this is one of the crash log which i recently got.
Fatal Exception: java.lang.ArrayIndexOutOfBoundsException: length=1; index=6 at com.ibm.mobilefirstplatform.clientsdk.android.push.api.MFPPush.getInstance(Unknown Source) at com.ibm.mobilefirstplatform.clientsdk.android.push.api.MFPPushIntentService.setAppForeground(Unknown Source) at com.google.firebase.messaging.FirebaseMessagingService.handleIntent(Unknown Source) at com.google.firebase.iid.zzc.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818)
In android O am not able to get push notification.should we need to change notification builder?