GrapheneOS / os-issue-tracker

Issue tracker for GrapheneOS Android Open Source Project hardening work. Standalone projects like Auditor, AttestationServer and hardened_malloc have their own dedicated trackers.
https://grapheneos.org/
359 stars 21 forks source link

"Instapay Egypt" app crashes on launch #3433

Closed FID02 closed 3 weeks ago

FID02 commented 6 months ago

When attempting to launch the app "Instapay Egypt", it gets stuck on what appears to be a loading screen. With exploit protection compatibility mode enabled, it launches but shows a blank screen, and eventually crashes. Same effect when secure app spawning is disabled.

Opening the app on stock PixelOS, it launches fine (and proceeds to a sign-up flow, asking for the Phone and SMS permissions).

From the crash log, I'm unable to deduce if this is Play Integrity related.

https://play.google.com/store/apps/details?id=com.egyptianbanks.instapay

GrapheneOS 2024040900, Pixel 8

PixelOS, AP1A.240405.002, Pixel 6a

type: crash
osVersion: google/shiba/shiba:14/AP1A.240405.002/2024040900:user/release-keys
package: com.egyptianbanks.instapay:33
process: com.egyptianbanks.instapay
processUptime: 240 + 188 ms
installer: com.android.vending

java.lang.RuntimeException: Unable to get provider com.google.firebase.provider.FirebaseInitProvider: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Context.getString(int)' on a null object reference
    at android.app.ActivityThread.installProvider(ActivityThread.java:8124)
    at android.app.ActivityThread.installContentProviders(ActivityThread.java:7634)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7323)
    at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2344)
    at android.os.Handler.dispatchMessage(Handler.java:107)
    at android.os.Looper.loopOnce(Looper.java:232)
    at android.os.Looper.loop(Looper.java:317)
    at android.app.ActivityThread.main(ActivityThread.java:8532)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
    at com.android.internal.os.ExecInit.main(ExecInit.java:50)
    at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
    at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:359)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Context.getString(int)' on a null object reference
    at com.olive.insta_pay.activity.BaseActivity$Companion.showAlert(:310)
    at com.olive.insta_pay.activity.BaseActivity$Companion.myCallback(:304)
    at com.google.android.gms.dynamite.zzi.$$a(:1000)
    at java.lang.reflect.Method.invoke(Native Method)
    at o.MediaBrowserCompat$ItemCallback$StubApi23.INotificationSideChannel(Unknown Source:99)
    at o.onReceiveResult.cancel(:1295)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.google.firebase.provider.FirebaseInitProvider.onCreate(Unknown Source:4215)
    at android.content.ContentProvider.attachInfo(ContentProvider.java:2632)
    at android.content.ContentProvider.attachInfo(ContentProvider.java:2602)
    at com.google.firebase.provider.FirebaseInitProvider.attachInfo(:45)
    at android.app.ActivityThread.installProvider(ActivityThread.java:8119)
    ... 13 more
matchboxbananasynergy commented 3 weeks ago

The app seems to function the same way as stock now, tested in a profile with sandboxed Google Play installed.