Allow GPS
Including this screen in an app allows users to prevent their GPS from reporting their location to the app.
Always include one of these screens if the app asks for the users location.
iOS
Android
Screenshots
More Information
This displays a screen that allows a user to prevent their device from reporting it's
location to the app. IT IS VERY IMPORTANT TO INCLUDE THIS SCREEN IF THE APP USES
LOCATION INFORMATION. ALWAYS HONOR END-USER REQUESTS TO NOT REPORT THEIR LOCATION.
iOS Project
------------------------
1 Objective-C class (a total of 2 files) are needed.
BT_screen_settingsLocation.m and .h
BT_screen_settingsLocation.m is a UIViewController with a UITableView.
Android Project
------------------------
1 .java class file is needed, 1 layout xml file is needed (a total of 2 files)
BT_screen_settingsLocation.java
screen_settingslocation.xml
BT_screen_settingsLocation.java is an Android Activity with a ListView. The screen_settingslocation.xml file
handles the screens layout.
Version History
-----------------
v1.3 11/10/2012
Minor syntax changes to accomodate for Xcode 4.5 compiler warnings.
Minor changes in .java files to accomodate for Anroid (Google) 2.2 API's compiler warnings.
Minor UI changes in .php files for control panel.
v1.0, 1.1, 1.2 (historical versions, no change details)
JSON Data
------------------------
Most folks use the control panel to configure the JSON data for this plugin but it's useful to
see what it may look like.
{
"itemId":"343434",
"itemType":"BT_screen_settingsLocation",
"navBarTitleText":"Allow GPS"
}