Closed Betapig1 closed 3 years ago
When I open the app and open the project then close the app. The next time I open the app and the project the project just shows a black screen
Please write in more detail. How do you close the application?
I close the application by opening the list if apps open, and swiping it closed
Killing the application or removing it to the background?
Killing it completley i believe. The application is no longer open
The only way I can get the project to show again is to uninstall and rebuild the app
I made a build apk and my test application which I posted with the link and with a real working unit project starts and closes without problems
Did you do it with a development build? Rather than a release apk?
release apk
If you do it with a dev build you will probably find the same bug
not, everything works in all variants
Well do you want some of my code? Which files would help you
Okay I'll get that to you in about an hour if that works
https://drive.google.com/file/d/18l0K7FoHNm8_hMqXeno7ZRVabPbKHxue/view?usp=sharing
everything works fine a problem with the screen because the settings from the description were not made
UNITY PLAYER SETTINGS Resolution and Presentation -> Start in fullscreen mode -> no selection set ! Resolution and Presentation -> Render outside safe area -> no selection set !
Ah that makes sense. One more question, how do I include unity packages and assets? Becuase with a different project i get this `
Could not find :native-toolkit:. Required by: project :app project :app > project :unityLibrary Could not find :support-compat-27.1.1:. Required by: project :app project :app > project :unityLibrary Could not find :support-v4-27.1.1:. Required by: project :app project :app > project :unityLibrary`
when i try to run it because it cant find the .aar files
excuse me - I did not understand the question
Certain unity assets attach .aar files in the libs folder and requires them. However when I load the project in react native it is unable to find them
Create directory into android/app/libs
Copy libs from
Add to build.gradle
allprojects { repositories { flatDir { dirs "$rootDir/app/libs" }
When I open the app and open the project then close the app. The next time I open the app and the project the project just shows a black screen