FAQ & Troubleshooting (React Native)
Android
Picture in Picture(PIP) cannot be closed normally when killing the application in Android 11
class MainActivity: ... {
// ...
override fun onDestroy() {
super.onDestroy()
...
// Please add this line to your MainActivity
// We call FireworkSdk.closePip inside FWReactNativeSDK.INSTANCE.closePip
FWReactNativeSDK.INSTANCE.closePip()
}
}Out of JVM Memory
Gradle plugin version is larger than 4.1.x
Use JDK11 and Gradle 7.x.
minCompileSdk = 31
Okhttp version issue
Glide version issue
Natively started activity is closed when launching RN app from desktop icon on Android
popNativeContainer vs startFloatingPlayer
Don't use popNativeContainer when PiP is enabled(enablePictureInPicture is true)
Don't use startFloatingPlayer when PiP is disabled(enablePictureInPicture is false)
How to enable PiP?
Last updated
Was this helpful?