- Downloaded from Android application background.
- Send a Notification when the download is complete.
- Source code included.
-
NativeManager (Assets/Project/Scripts/NativeManager.cs)
Wrapping class for Android native plugin.
Unity calls native code through this class. -
PluginManager (Assets/Plugins/Android/PluginManager.kt)
Android native plugin class. (Kotlin)
It performs functions such as Notification Send, Download Data using http url.
- Click download button.
- Go to application background. (Please press home button)
- Wait when download is complete.
- Click complete notification.
- The background has been changed to the downloaded file.
This plugin has been tested in the specifications below.
- Unity Version : "2019.3.3f"
- Android Model : "Samsung Galaxy 7"
- Android Min SDK Version : 19
- Android Compile SDK Version : 28
- Android Build Tools Version : "28.0.3"
- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.50
- androidx.appcompat:appcompat:1.1.0
- androidx.core:core-ktx:1.2.0
- unity-jar-resolver (https://github.com/googlesamples/unity-jar-resolver)
- Sanghun Lee
- Email: tkdgns1284@gmail.com
- Github: https://github.com/bss1284