Quantcast
Channel: Answers by "gfoot"
Viewing all articles
Browse latest Browse all 95

Answer by gfoot

$
0
0
I think that's out of date, but you don't need a native plugin anyway. It's easiest to do this using an Android Javascript plugin, which you need to launch as a service when your app is started. This then runs in the background even when your app is terminated, and can do things like display notifications to the user. I'm not sure whether it's possible to auto-launch your app again, but it's not something I'd recommend in any case as users do not expect it, it is very intrusive. Typically if any processing needed to be done, you'd do it in the Javascript, which is much more lightweight than firing up a Unity-based app. Here's a good example of how to build a jar plugin and use it from Unity: https://github.com/Agasper/unity-android-notifications

Viewing all articles
Browse latest Browse all 95

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>