DX NetOps

  • 1.  Issue with Android P

    Posted Aug 16, 2018 09:55 AM

    getting Prompt with "Detected problems with API compatibility" warning message and also getting an exception

    android.os.ServiceSpecificException: (code 7)
    at android.os.Parcel.createException(Parcel.java:1956)
    at android.os.Parcel.readException(Parcel.java:1910)
    at android.os.Parcel.readException(Parcel.java:1860)
    at android.security.IKeystoreService$Stub$Proxy.get(IKeystoreService.java:786)
    at android.security.KeyStore.get(KeyStore.java:195)
    at android.security.KeyStore.get(KeyStore.java:206)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.ca.mas.core.security.KeyStoreAdapter.get(KeyStoreAdapter.java:120)
    at com.ca.mas.core.storage.implementation.KeyStoreStorage.readData(KeyStoreStorage.java:175)
    at com.ca.mas.core.storage.implementation.KeyStoreStorage.deleteData(KeyStoreStorage.java:410)
    at com.ca.mas.core.datasource.KeystoreDataSource.remove(KeystoreDataSource.java:158)
    at com.ca.mas.core.store.PrivateTokenStorage.clear(PrivateTokenStorage.java:102)
    at com.ca.mas.core.conf.ConfigurationManager$ClientChangeListener.onUpdated(ConfigurationManager.java:418)
    at com.ca.mas.core.conf.ConfigurationManager.activate(ConfigurationManager.java:170)
    at com.ca.mas.core.MobileSsoFactory.getInstance(MobileSsoFactory.java:171)
    at com.ca.mas.core.MobileSsoFactory.getInstance(MobileSsoFactory.java:88)
    at com.ca.mas.foundation.MAS.start(MAS.java:233)
    at com.digitaslbi.hastingsdirect.HDApplication.initCAGateway(HDApplication.java:61)
    at com.digitaslbi.hastingsdirect.HDApplication.onCreate(HDApplication.java:43)
    at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5871)
    at android.app.ActivityThread.access$1100(ActivityThread.java:199)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
    at android.os.Handler.dispatchMessage(Handler.java:106)
    at android.os.Looper.loop(Looper.java:193)
    at android.app.ActivityThread.main(ActivityThread.java:6669)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

    i am testing on Pixel that have official android P.
    please help to resolve this issue.



  • 2.  Re: Issue with Android P

    Broadcom Employee
    Posted Aug 16, 2018 11:37 AM

    Can you please provide some more context on where this error is coming from? What exactly are you testing that is producing this error?



  • 3.  Re: Issue with Android P

    Posted Aug 17, 2018 02:51 AM

    .

    Thanks Harold for quick response.

    i am using your API (com.ca.mas:1.4.00) in my project. 

    Application is working fine on all versions below Android P. but when run application on android P with debug mode. then show warning prompt in application as well as get exception also.

    after closing prompt ,application is working fine. but this prompt is showing always when launch fresh application. This prompt is not showing in production version . 

    App Configuration is here:

             compileSdkVersion 'android-P'

             minSdkVersion        21
             targetSdkVersion    26

     

    Build Type

          applicationIdSuffix '.internal'
          minifyEnabled false
          debuggable true
          signingConfig signingConfigs.release
          ext.enableCrashlytics = true
           proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          ext.fabricApiSecret = FABRIC_INTERNAL_APISECRET

          ext.betaDistributionGroupAliases = "dlbi"

     

     

     

    If  change targetSdkVersion to 28 ,then get exception and crash application .



  • 4.  Re: Issue with Android P

    Broadcom Employee
    Posted Aug 17, 2018 03:52 AM

    Hi Dileep,

     

    Spectrum Phone App was developed many years ago and has eventually lead to the development of Spectrum OneClick Webclient, which is more full featured then the Spectrum Phone App.  As your device is capable of running the latest Android, have you tried using it with Webclient?

     

    Best regards,

    Glenn