Open matthewhilson opened 4 years ago
The same issue occurred when we where integrating this plugin to our game. We just recompiled plugin with different default theme.
I'm not an expert in Android development, but I can explain what to do.
In src/unityOBBDownloader/src/main/AndroidManifest.xml
change this line
<activity android:name="com.unity3d.plugin.downloader.UnityDownloaderActivity" />
with
<activity android:name="com.unity3d.plugin.downloader.UnityDownloaderActivity"
android:theme="@style/AppTheme"
android:screenOrientation="landscape"/>
And add this line to src/unityOBBDownloader/src/main/res/values/styles.xml
in <resources>
block
<style name="AppTheme" parent="android:Theme.Holo" />
Thank you! That works a treat.
The android activity has a black background when using a fresh 2018.4.23f1 project, you can see the progress bar and pause download button, but nothing else is visible, I will upload a screenshot.