- Home /
Android Permissions API Version
I just noticed the new Android Permissions API.
I publish a plugin for Unity that works on older versions as well and this is a feature new to Unity 2018.3.
How am I supposed to rework my plugin so that it will call the new API to get the permissions that my plugin needs (location services for bluetooth)?
I can't just add the new API calls because if users try to build that using older versions of Unity it won't work, right?
Answer by Hotshot10101 · Jan 11, 2019 at 12:56 AM
I figured it out. There is the UNITY_2018_3_OR_NEWER define. I just use that and it works fine.
Hope this helps someone else.
Your answer
Follow this Question
Related Questions
Android Manifest with Single Permission 2 Answers
How to check if user has given camera or location permissions (android) 0 Answers
Which Android In app Purchase plugin should I choose? 0 Answers
Is there any plugin available for wechat android? 2 Answers
Google Play Game Services Plugin "Failed to re-package resources" 2 Answers