mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-22 20:18:57 +08:00
add missing permission for google maps
This commit is contained in:
@@ -19,6 +19,7 @@ Motion::Project::App.setup do |app|
|
||||
%w{ACCESS_NETWORK_STATE ACCESS_FINE_LOCATION INTERNET WRITE_EXTERNAL_STORAGE}.each do |perm|
|
||||
app.manifest_entry('uses-permission', :name => "android.permission.#{perm}")
|
||||
end
|
||||
app.manifest_entry('uses-permission', :name => 'com.google.android.providers.gsf.permission.READ_GSERVICES')
|
||||
|
||||
# Enable the Google Play Services library in the manifest file.
|
||||
app.manifest_entry('application', 'meta-data', :name => 'com.google.android.gms.version', :value => '@integer/google_play_services_version')
|
||||
|
||||
Reference in New Issue
Block a user