Affected app
Name: WeChat
Package id: com.tencent.mm
Describe the bug
FCM works correctly for the app in the owner profile (user 0), but fails for the same app running as a Huawei App Twin / cloned app in Android user 128.
When the cloned app is opened, it requests FCM registration through microG, but fails continuously every 60–90 seconds due to a BadParcelableException caused by ClassNotFoundException:
org.microg.gms.gcm.PushRegisterServiceKt$ensureCheckinIsUpToDate$resultData$1$1
As a result, no MCS/GCM connection is established for user 128, and FCM messages do not arrive when the cloned app process is not running.
To Reproduce
- Install and configure microG on a Huawei device supporting App Twin.
- Enable App Twin for WeChat (
com.tencent.mm).
- Open the cloned app under user 128 and observe FCM registration in logcat.
- Registration repeatedly fails with
BadParcelableException / ClassNotFoundException.
- Kill the cloned app process (without force-stopping).
- FCM messages do not arrive and the clone cannot be cold-started.
Expected behavior
microG should successfully handle FCM registration and message delivery for the cloned application under user 128, same as user 0.
System
Device: HUAWEI PLU-AL10
Android Version: 12 (API 31)
microG
microG Core version: 0.3.16.252432-hw
Additional context
- Firebase receiver resolves correctly in both users (
com.tencent.mm/com.google.firebase.iid.FirebaseInstanceIdReceiver).
- Owner instance (user 0) works completely fine.
Affected app
Name: WeChat
Package id: com.tencent.mm
Describe the bug
FCM works correctly for the app in the owner profile (user 0), but fails for the same app running as a Huawei App Twin / cloned app in Android user 128.
When the cloned app is opened, it requests FCM registration through microG, but fails continuously every 60–90 seconds due to a
BadParcelableExceptioncaused byClassNotFoundException:org.microg.gms.gcm.PushRegisterServiceKt$ensureCheckinIsUpToDate$resultData$1$1As a result, no MCS/GCM connection is established for user 128, and FCM messages do not arrive when the cloned app process is not running.
To Reproduce
com.tencent.mm).BadParcelableException/ClassNotFoundException.Expected behavior
microG should successfully handle FCM registration and message delivery for the cloned application under user 128, same as user 0.
System
Device: HUAWEI PLU-AL10
Android Version: 12 (API 31)
microG
microG Core version: 0.3.16.252432-hw
Additional context
com.tencent.mm/com.google.firebase.iid.FirebaseInstanceIdReceiver).