diff --git a/ios/framework/Settings.bundle/Root.plist b/ios/framework/Settings.bundle/Root.plist new file mode 100644 index 000000000..076f402e1 --- /dev/null +++ b/ios/framework/Settings.bundle/Root.plist @@ -0,0 +1,33 @@ + + + + + PreferenceSpecifiers + + + Title + Privacy Settings + Type + PSGroupSpecifier + FooterText + This setting allows the application to share anonymized location and usage data with Mapbox. + + + DefaultValue + + Key + MGLMapboxMetricsEnabled + Title + Mapbox Metrics + Type + PSToggleSwitchSpecifier + TrueValue + + FalseValue + + + + StringsTable + Root + + diff --git a/ios/framework/Settings.bundle/en.lproj/Root.strings b/ios/framework/Settings.bundle/en.lproj/Root.strings new file mode 100644 index 000000000..51959f60a Binary files /dev/null and b/ios/framework/Settings.bundle/en.lproj/Root.strings differ diff --git a/scripts/ios/framework.sh b/scripts/ios/framework.sh index 700c8cf5a..81f7b35b9 100755 --- a/scripts/ios/framework.sh +++ b/scripts/ios/framework.sh @@ -18,6 +18,9 @@ cat ../../../../ios/framework/umbrella >> Mapbox.framework/Headers/Mapbox.h # resources cp -rv ../static/Mapbox.bundle Mapbox.framework/Mapbox.bundle +# settings bundle +cp -rv ../../../../ios/framework/Settings.bundle Mapbox.framework/Settings.bundle + # binary cp -v ../static/libMapbox.a Mapbox.framework/Mapbox