cgisca / PGSGP

Play Games Services plugin for Godot Game Engine - Android
MIT License
217 stars 61 forks source link

add method to check if google services are available on device #60

Open DeleteSystem32 opened 3 years ago

DeleteSystem32 commented 3 years ago

Devices that don't have Google services installed will show an error when the module's init() method is called. This pull request adds a method isGooglePlayServicesAvailable() to check if compatible Google services are installed, so that developers can gracefully account for devices that don't have them before calling init().