Release android build hangs on splash screen after upgraiding to SDK 33

Hi there!

I’ve got updated my project to SDK 33 with suffering and pain. Nevertheless dev build works fine, but my signed apk hangs on splash screen without any errors.

Any thougths and help would be greatly appreciated :upside_down_face:

I investigated that problem is in ‘redux-persist’ module. Somehow it is not working in release build. Got that error via Logcat:

2019-07-15 09:44:45.710 19544-19652/? E/ReactNativeJS: TypeError: undefined is not an object (evaluating 'this.props.persistor.subscribe')
    
    This error is located at:
        in c
        in l
        in IntlProvider
        in n
        in n
        in v
        in RCTView
        in RCTView
        in c
2019-07-15 09:44:45.719 19544-19652/? E/ReactNativeJS: TypeError: this.tokenListener is not a function. (In 'this.tokenListener()', 'this.tokenListener' is null)
    
    This error is located at:
        in n
        in n
        in v
        in RCTView
        in RCTView
        in c
2019-07-15 09:44:45.799 4911-4911/? W/Looper: Slow dispatch took 111ms main h=com.android.server.notification.NotificationManagerService$WorkerHandler c=null m=3
2019-07-15 09:44:45.799 4911-4911/? E/libperflog: [LIBPERFLOG] socket_local_client fail = -1

Still trying to solve

Hey @sirmong,

Glad you dug into the device logs. Was going to be my recommendation. It might be worth trying to build a vanilla RN version of your project and see if redux-persist works as expected to help identify if it’s something with ExpoKit that’s causing the issue.

Cheers,
Adam