- Home /
Using CustomUnityPlayerActivity, which inherits from UnityPlayerActivity, will cause problems.
UnityPlayerActivity Java code extension
(https://docs.unity3d.com/2018.3/Documentation/Manual/AndroidUnityPlayerActivity.html)
was applied to an empty unity project.
I have a problem that my app is not working properly.
Order of execution
1. Install apk on the device and run it.
2. Send the running app in the background.
3. Touch the installed app icon to re-launch.
4. The app is forcibly terminated.
※ This problem occurs only when executed immediately after initial installation.
There is another problem.
If you rerun your app through the notification banner (if you have an app in the background), the app will not work or will not run.
- My own notification plugin (black screen when re-running app)
- UnityMobileNotifications (not running, no response)
I think Unity does not activate the normal CustomUnityPlayerActivity when re-launching the app.
I need help solving this problem. Help me!
Your answer
Follow this Question
Related Questions
Why cant I change the android:windowBackground? 0 Answers
CommandInvokationFailure: Failed to re-package resources. 1 Answer
java.lang.ClassNotFoundException while running Android activity 2 Answers
What I have to do to add com.unity3d to my Android game? 0 Answers
Get Phone number of android mobile device - Android native code to Unity c# 3 Answers