main
runette 6 months ago
commit e0afef912e
  1. 20
      .editorconfig
  2. 9
      Core.meta
  3. 2
      Core/.gitignore
  4. 9
      Core/Plugins.meta
  5. 8
      Core/Plugins/Android.meta
  6. 10
      Core/Plugins/Android/UniAndroidPermission.meta
  7. 24
      Core/Plugins/Android/UniAndroidPermission/AndroidManifest-uniRP.xml
  8. 8
      Core/Plugins/Android/UniAndroidPermission/AndroidManifest-uniRP.xml.meta
  9. 111
      Core/Plugins/Android/UniAndroidPermission/UniAndroidPermission.cs
  10. 12
      Core/Plugins/Android/UniAndroidPermission/UniAndroidPermission.cs.meta
  11. 53
      Core/Plugins/Android/UniAndroidPermission/UniAndroidPermission.prefab
  12. 8
      Core/Plugins/Android/UniAndroidPermission/UniAndroidPermission.prefab.meta
  13. BIN
      Core/Plugins/Android/UniAndroidPermission/UniAndroidPermission_v1_2.jar
  14. 31
      Core/Plugins/Android/UniAndroidPermission/UniAndroidPermission_v1_2.jar.meta
  15. BIN
      Core/Plugins/Android/mapbox-android-core-5.0.2.aar
  16. 32
      Core/Plugins/Android/mapbox-android-core-5.0.2.aar.meta
  17. BIN
      Core/Plugins/Android/mapbox-android-telemetry-8.1.5.aar
  18. 32
      Core/Plugins/Android/mapbox-android-telemetry-8.1.5.aar.meta
  19. 8
      Core/Plugins/Mapbox.meta
  20. 8
      Core/Plugins/Mapbox/MapboxAccounts.meta
  21. 10
      Core/Plugins/Mapbox/MapboxAccounts/net35.meta
  22. BIN
      Core/Plugins/Mapbox/MapboxAccounts/net35/MapboxAccountsUnity.dll
  23. 112
      Core/Plugins/Mapbox/MapboxAccounts/net35/MapboxAccountsUnity.dll.meta
  24. 10
      Core/Plugins/Mapbox/MapboxAccounts/net4x.meta
  25. BIN
      Core/Plugins/Mapbox/MapboxAccounts/net4x/MapboxAccountsUnity.dll
  26. 116
      Core/Plugins/Mapbox/MapboxAccounts/net4x/MapboxAccountsUnity.dll.meta
  27. 8
      Core/Plugins/Mapbox/vector-tile-cs.meta
  28. 8
      Core/Plugins/Mapbox/vector-tile-cs/net46.meta
  29. BIN
      Core/Plugins/Mapbox/vector-tile-cs/net46/Mapbox.VectorTile.ExtensionMethods.dll
  30. 110
      Core/Plugins/Mapbox/vector-tile-cs/net46/Mapbox.VectorTile.ExtensionMethods.dll.meta
  31. BIN
      Core/Plugins/Mapbox/vector-tile-cs/net46/Mapbox.VectorTile.Geometry.dll
  32. 110
      Core/Plugins/Mapbox/vector-tile-cs/net46/Mapbox.VectorTile.Geometry.dll.meta
  33. BIN
      Core/Plugins/Mapbox/vector-tile-cs/net46/Mapbox.VectorTile.PbfReader.dll
  34. 110
      Core/Plugins/Mapbox/vector-tile-cs/net46/Mapbox.VectorTile.PbfReader.dll.meta
  35. BIN
      Core/Plugins/Mapbox/vector-tile-cs/net46/Mapbox.VectorTile.VectorTileReader.dll
  36. 110
      Core/Plugins/Mapbox/vector-tile-cs/net46/Mapbox.VectorTile.VectorTileReader.dll.meta
  37. 8
      Core/Plugins/Mapbox/vector-tile-cs/portable-net45+uap10.meta
  38. BIN
      Core/Plugins/Mapbox/vector-tile-cs/portable-net45+uap10/Mapbox.VectorTile.ExtensionMethods.dll
  39. 93
      Core/Plugins/Mapbox/vector-tile-cs/portable-net45+uap10/Mapbox.VectorTile.ExtensionMethods.dll.meta
  40. BIN
      Core/Plugins/Mapbox/vector-tile-cs/portable-net45+uap10/Mapbox.VectorTile.Geometry.dll
  41. 105
      Core/Plugins/Mapbox/vector-tile-cs/portable-net45+uap10/Mapbox.VectorTile.Geometry.dll.meta
  42. BIN
      Core/Plugins/Mapbox/vector-tile-cs/portable-net45+uap10/Mapbox.VectorTile.PbfReader.dll
  43. 93
      Core/Plugins/Mapbox/vector-tile-cs/portable-net45+uap10/Mapbox.VectorTile.PbfReader.dll.meta
  44. BIN
      Core/Plugins/Mapbox/vector-tile-cs/portable-net45+uap10/Mapbox.VectorTile.VectorTileReader.dll
  45. 93
      Core/Plugins/Mapbox/vector-tile-cs/portable-net45+uap10/Mapbox.VectorTile.VectorTileReader.dll.meta
  46. 8
      Core/Plugins/ThirdParty.meta
  47. 8
      Core/Plugins/ThirdParty/Mapbox.IO.Compression.meta
  48. 8
      Core/Plugins/ThirdParty/Mapbox.IO.Compression/net35.meta
  49. BIN
      Core/Plugins/ThirdParty/Mapbox.IO.Compression/net35/Mapbox.IO.Compression.dll
  50. 133
      Core/Plugins/ThirdParty/Mapbox.IO.Compression/net35/Mapbox.IO.Compression.dll.meta
  51. 8
      Core/Plugins/ThirdParty/Mapbox.IO.Compression/uap10.meta
  52. BIN
      Core/Plugins/ThirdParty/Mapbox.IO.Compression/uap10/Mapbox.IO.Compression.dll
  53. 100
      Core/Plugins/ThirdParty/Mapbox.IO.Compression/uap10/Mapbox.IO.Compression.dll.meta
  54. 8
      Core/Plugins/ThirdParty/Mapbox.Json.meta
  55. 8
      Core/Plugins/ThirdParty/Mapbox.Json/Net35.meta
  56. BIN
      Core/Plugins/ThirdParty/Mapbox.Json/Net35/Mapbox.Json.dll
  57. 70
      Core/Plugins/ThirdParty/Mapbox.Json/Net35/Mapbox.Json.dll.meta
  58. 8
      Core/Plugins/ThirdParty/Mapbox.Json/Portable.meta
  59. BIN
      Core/Plugins/ThirdParty/Mapbox.Json/Portable/Mapbox.Json.dll
  60. 55
      Core/Plugins/ThirdParty/Mapbox.Json/Portable/Mapbox.Json.dll.meta
  61. 8
      Core/Plugins/iOS.meta
  62. 18
      Core/Plugins/iOS/MapboxMetricsClient.m
  63. 26
      Core/Plugins/iOS/MapboxMetricsClient.m.meta
  64. 10
      Core/Plugins/iOS/MapboxMobileEvents.meta
  65. 10
      Core/Plugins/iOS/MapboxMobileEvents/include.meta
  66. 10
      Core/Plugins/iOS/MapboxMobileEvents/include/MapboxMobileEvents.meta
  67. 197
      Core/Plugins/iOS/MapboxMobileEvents/include/MapboxMobileEvents/MMEConstants.h
  68. 26
      Core/Plugins/iOS/MapboxMobileEvents/include/MapboxMobileEvents/MMEConstants.h.meta
  69. 172
      Core/Plugins/iOS/MapboxMobileEvents/include/MapboxMobileEvents/MMEEvent.h
  70. 26
      Core/Plugins/iOS/MapboxMobileEvents/include/MapboxMobileEvents/MMEEvent.h.meta
  71. 152
      Core/Plugins/iOS/MapboxMobileEvents/include/MapboxMobileEvents/MMEEventsManager.h
  72. 26
      Core/Plugins/iOS/MapboxMobileEvents/include/MapboxMobileEvents/MMEEventsManager.h.meta
  73. 54
      Core/Plugins/iOS/MapboxMobileEvents/include/MapboxMobileEvents/MMETypes.h
  74. 26
      Core/Plugins/iOS/MapboxMobileEvents/include/MapboxMobileEvents/MMETypes.h.meta
  75. 14
      Core/Plugins/iOS/MapboxMobileEvents/include/MapboxMobileEvents/MapboxMobileEvents.h
  76. 26
      Core/Plugins/iOS/MapboxMobileEvents/include/MapboxMobileEvents/MapboxMobileEvents.h.meta
  77. BIN
      Core/Plugins/iOS/MapboxMobileEvents/libMapboxMobileEventsStatic.a
  78. 106
      Core/Plugins/iOS/MapboxMobileEvents/libMapboxMobileEventsStatic.a.meta
  79. 29
      Core/Plugins/link.xml
  80. 7
      Core/Plugins/link.xml.meta
  81. 8
      Core/Plugins/sqlite.meta
  82. 9
      Core/Plugins/sqlite/Android.meta
  83. 9
      Core/Plugins/sqlite/Android/libs.meta
  84. 8
      Core/Plugins/sqlite/Android/libs/arm64-v8a.meta
  85. BIN
      Core/Plugins/sqlite/Android/libs/arm64-v8a/libsqlite3.so
  86. 94
      Core/Plugins/sqlite/Android/libs/arm64-v8a/libsqlite3.so.meta
  87. 9
      Core/Plugins/sqlite/Android/libs/armeabi-v7a.meta
  88. BIN
      Core/Plugins/sqlite/Android/libs/armeabi-v7a/libsqlite3.so
  89. 70
      Core/Plugins/sqlite/Android/libs/armeabi-v7a/libsqlite3.so.meta
  90. 9
      Core/Plugins/sqlite/Android/libs/x86.meta
  91. BIN
      Core/Plugins/sqlite/Android/libs/x86/libsqlite3.so
  92. 55
      Core/Plugins/sqlite/Android/libs/x86/libsqlite3.so.meta
  93. 9
      Core/Plugins/sqlite/x64.meta
  94. BIN
      Core/Plugins/sqlite/x64/sqlite3.dll
  95. 63
      Core/Plugins/sqlite/x64/sqlite3.dll.meta
  96. 9
      Core/Plugins/sqlite/x86.meta
  97. BIN
      Core/Plugins/sqlite/x86/sqlite3.dll
  98. 63
      Core/Plugins/sqlite/x86/sqlite3.dll.meta
  99. 10
      Core/cheap-ruler-cs.meta
  100. 164
      Core/cheap-ruler-cs/CheapRuler.cs
  101. Some files were not shown because too many files have changed in this diff Show More

@ -0,0 +1,20 @@
root = true
[*.cs]
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
# avoid "this." if not necessary
dotnet_style_qualification_for_field = false:warning
dotnet_style_qualification_for_property = false:warning
dotnet_style_qualification_for_event = false:warning
# newline settings
csharp_new_line_before_open_brace = all
csharp_new_line_before_else = true
csharp_new_line_before_catch = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_between_query_expression_clauses = true

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 9baba017b10fa4eaeab33dade1902adb
folderAsset: yes
timeCreated: 1481925241
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

2
Core/.gitignore vendored

@ -0,0 +1,2 @@
# exlude obj.meta created by documentation creation
obj.meta

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 59e7e6a60c29840a5b9d84b2ee53671a
folderAsset: yes
timeCreated: 1491243030
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: e191eb758d41cba41b7f997ada0d41eb
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 4aa6de0d65164fe48a9b01246c856fc8
folderAsset: yes
timeCreated: 1521070590
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,24 @@
<!--
Android Manifest for UniAndroid Permission (2016/03/19 sanukin39)
--- if already have AndroidManifest file at Assets/Plugins/Android/ ----
Copy the activity and meta-data sentence to your AndroidManifest.xml
--- if not ---
Rename this file to AndroidManifest.xml and add permission you want to add And move the file to Assets/Plugins/Android
-->
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.company.product">
<application android:icon="@drawable/app_icon" android:label="@string/app_name">
<activity android:name="net.sanukin.OverrideUnityActivity"
android:label="@string/app_name"
android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<meta-data android:name="unityplayer.SkipPermissionsDialog" android:value="true" />
</application>
</manifest>

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 9a957c06543b147a1b950f050282d728
timeCreated: 1458403910
licenseType: Free
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,111 @@
using System;
using UnityEngine;
public class UniAndroidPermission : MonoBehaviour
{
const string PackageName = "net.sanukin.PermissionManager";
static Action onAllowCallback;
static Action onDenyCallback;
static Action onDenyAndNeverAskAgainCallback;
void Awake()
{
DontDestroyOnLoad(gameObject);
}
public static bool IsPermitted(AndroidPermission permission)
{
#if !UNITY_EDITOR && UNITY_ANDROID
using (var permissionManager = new AndroidJavaClass(PackageName))
{
return permissionManager.CallStatic<bool>("hasPermission", GetPermittionStr(permission));
}
#else
return true;
#endif
}
public static void RequestPermission(AndroidPermission permission, Action onAllow = null, Action onDeny = null, Action onDenyAndNeverAskAgain = null)
{
#if !UNITY_EDITOR && UNITY_ANDROID
using (var permissionManager = new AndroidJavaClass(PackageName))
{
permissionManager.CallStatic("requestPermission", GetPermittionStr(permission));
onAllowCallback = onAllow;
onDenyCallback = onDeny;
onDenyAndNeverAskAgainCallback = onDenyAndNeverAskAgain;
}
#else
Debug.LogWarning("UniAndroidPermission works only Androud Devices.");
#endif
}
private static string GetPermittionStr(AndroidPermission permittion)
{
return "android.permission." + permittion.ToString();
}
private void OnAllow()
{
if (onAllowCallback != null)
{
onAllowCallback();
}
ResetAllCallBacks();
}
private void OnDeny()
{
if (onDenyCallback != null)
{
onDenyCallback();
}
ResetAllCallBacks();
}
private void OnDenyAndNeverAskAgain()
{
if (onDenyAndNeverAskAgainCallback != null)
{
onDenyAndNeverAskAgainCallback();
}
ResetAllCallBacks();
}
private void ResetAllCallBacks(){
onAllowCallback = null;
onDenyCallback = null;
onDenyAndNeverAskAgainCallback = null;
}
}
// Protection level: dangerous permissions 2015/11/25
// http://developer.android.com/intl/ja/reference/android/Manifest.permission.html
public enum AndroidPermission
{
ACCESS_COARSE_LOCATION,
ACCESS_FINE_LOCATION,
ADD_VOICEMAIL,
BODY_SENSORS,
CALL_PHONE,
CAMERA,
GET_ACCOUNTS,
PROCESS_OUTGOING_CALLS,
READ_CALENDAR,
READ_CALL_LOG,
READ_CONTACTS,
READ_EXTERNAL_STORAGE,
READ_PHONE_STATE,
READ_SMS,
RECEIVE_MMS,
RECEIVE_SMS,
RECEIVE_WAP_PUSH,
RECORD_AUDIO,
SEND_SMS,
USE_SIP,
WRITE_CALENDAR,
WRITE_CALL_LOG,
WRITE_CONTACTS,
WRITE_EXTERNAL_STORAGE
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 7df6f555c4d344871bf935752b861a45
timeCreated: 1448444718
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,53 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &134968
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 5
m_Component:
- component: {fileID: 408032}
- component: {fileID: 11480548}
m_Layer: 0
m_Name: UniAndroidPermission
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &408032
Transform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 134968}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &11480548
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 134968}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 7df6f555c4d344871bf935752b861a45, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1001 &100100000
Prefab:
m_ObjectHideFlags: 1
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications: []
m_RemovedComponents: []
m_ParentPrefab: {fileID: 0}
m_RootGameObject: {fileID: 134968}
m_IsPrefabParent: 1

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a83b9ab9f1dc0439fa3caaf9912be67d
timeCreated: 1448447048
licenseType: Pro
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,31 @@
fileFormatVersion: 2
guid: d6467263296c74b919030e7bfae469ca
timeCreated: 1516304615
licenseType: Pro
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
- first:
Android: Android
second:
enabled: 1
settings: {}
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,32 @@
fileFormatVersion: 2
guid: ca612e075d0834fd7bc292f91065077c
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Android: Android
second:
enabled: 1
settings: {}
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,32 @@
fileFormatVersion: 2
guid: 47b0d1b4b61fc49f390843172d421aef
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Android: Android
second:
enabled: 1
settings: {}
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 2a5f99af2ce83514f822383e20066c54
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 379fde954e5274342ba547171ed89a78
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: f957f1079856147339d60a82ed5500b5
folderAsset: yes
timeCreated: 1567722208
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,112 @@
fileFormatVersion: 2
guid: a4d62bb9038704a8c84da77840aa84d1
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
'': Any
second:
enabled: 0
settings:
Exclude Android: 1
Exclude Editor: 0
Exclude Linux: 1
Exclude Linux64: 1
Exclude LinuxUniversal: 1
Exclude OSXUniversal: 1
Exclude WebGL: 1
Exclude Win: 1
Exclude Win64: 1
Exclude iOS: 1
- first:
Android: Android
second:
enabled: 0
settings:
CPU: ARMv7
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
- first:
Facebook: Win
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Facebook: Win64
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Standalone: Linux
second:
enabled: 0
settings:
CPU: x86
- first:
Standalone: Linux64
second:
enabled: 0
settings:
CPU: x86_64
- first:
Standalone: LinuxUniversal
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Standalone: Win64
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
iPhone: iOS
second:
enabled: 0
settings:
AddToEmbeddedBinaries: false
CompileFlags:
FrameworkDependencies:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: cc3724da731c645189d6f773016d164e
folderAsset: yes
timeCreated: 1567722324
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,116 @@
fileFormatVersion: 2
guid: 8d4cadd22d7994af2ae2a249b9d2a913
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
'': Any
second:
enabled: 0
settings:
Exclude Android: 0
Exclude Editor: 1
Exclude Linux: 0
Exclude Linux64: 0
Exclude LinuxUniversal: 0
Exclude OSXUniversal: 0
Exclude WebGL: 0
Exclude Win: 0
Exclude Win64: 0
Exclude iOS: 0
- first:
Android: Android
second:
enabled: 1
settings:
CPU: ARMv7
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
- first:
Facebook: Win
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Facebook: Win64
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Standalone: Linux
second:
enabled: 1
settings:
CPU: x86
- first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: x86_64
- first:
Standalone: LinuxUniversal
second:
enabled: 1
settings: {}
- first:
Standalone: OSXUniversal
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: Win
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
WebGL: WebGL
second:
enabled: 1
settings: {}
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
iPhone: iOS
second:
enabled: 1
settings:
AddToEmbeddedBinaries: false
CompileFlags:
FrameworkDependencies:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 5bf0a0cf94d3de74c8fe0a4ad76cfa8f
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: cf3b967d3d4405a4093e868e0440cf8a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,110 @@
fileFormatVersion: 2
guid: c864373fac3727545b44f740cc59abab
timeCreated: 18446744011573954816
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
- first:
'': Any
second:
enabled: 0
settings:
Exclude Android: 0
Exclude Editor: 0
Exclude Linux: 0
Exclude Linux64: 0
Exclude LinuxUniversal: 0
Exclude OSXUniversal: 0
Exclude WebGL: 0
Exclude Win: 0
Exclude Win64: 0
Exclude WindowsStoreApps: 1
Exclude iOS: 0
- first:
Android: Android
second:
enabled: 1
settings: {}
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
DefaultValueInitialized: true
- first:
Facebook: Win
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Facebook: Win64
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Standalone: Linux
second:
enabled: 1
settings:
CPU: x86
- first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: x86_64
- first:
Standalone: LinuxUniversal
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: OSXUniversal
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: Win
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
WebGL: WebGL
second:
enabled: 1
settings: {}
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
iPhone: iOS
second:
enabled: 1
settings: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,110 @@
fileFormatVersion: 2
guid: 902ec3a15243ce7459db8517c8de3f12
timeCreated: 18446744011573954816
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
- first:
'': Any
second:
enabled: 0
settings:
Exclude Android: 0
Exclude Editor: 0
Exclude Linux: 0
Exclude Linux64: 0
Exclude LinuxUniversal: 0
Exclude OSXUniversal: 0
Exclude WebGL: 0
Exclude Win: 0
Exclude Win64: 0
Exclude WindowsStoreApps: 1
Exclude iOS: 0
- first:
Android: Android
second:
enabled: 1
settings: {}
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
DefaultValueInitialized: true
- first:
Facebook: Win
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Facebook: Win64
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Standalone: Linux
second:
enabled: 1
settings:
CPU: x86
- first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: x86_64
- first:
Standalone: LinuxUniversal
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: OSXUniversal
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: Win
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
WebGL: WebGL
second:
enabled: 1
settings: {}
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
iPhone: iOS
second:
enabled: 1
settings: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,110 @@
fileFormatVersion: 2
guid: 34fcb52f9df13934786c32587147e4a0
timeCreated: 18446744011573954816
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
- first:
'': Any
second:
enabled: 0
settings:
Exclude Android: 0
Exclude Editor: 0
Exclude Linux: 0
Exclude Linux64: 0
Exclude LinuxUniversal: 0
Exclude OSXUniversal: 0
Exclude WebGL: 0
Exclude Win: 0
Exclude Win64: 0
Exclude WindowsStoreApps: 1
Exclude iOS: 0
- first:
Android: Android
second:
enabled: 1
settings: {}
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
DefaultValueInitialized: true
- first:
Facebook: Win
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Facebook: Win64
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Standalone: Linux
second:
enabled: 1
settings:
CPU: x86
- first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: x86_64
- first:
Standalone: LinuxUniversal
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: OSXUniversal
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: Win
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
WebGL: WebGL
second:
enabled: 1
settings: {}
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
iPhone: iOS
second:
enabled: 1
settings: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,110 @@
fileFormatVersion: 2
guid: 57cd912f9e6427a44ac217871c381c40
timeCreated: 18446744011573954816
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
- first:
'': Any
second:
enabled: 0
settings:
Exclude Android: 0
Exclude Editor: 0
Exclude Linux: 0
Exclude Linux64: 0
Exclude LinuxUniversal: 0
Exclude OSXUniversal: 0
Exclude WebGL: 0
Exclude Win: 0
Exclude Win64: 0
Exclude WindowsStoreApps: 1
Exclude iOS: 0
- first:
Android: Android
second:
enabled: 1
settings: {}
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
DefaultValueInitialized: true
- first:
Facebook: Win
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Facebook: Win64
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Standalone: Linux
second:
enabled: 1
settings:
CPU: x86
- first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: x86_64
- first:
Standalone: LinuxUniversal
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: OSXUniversal
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: Win
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
WebGL: WebGL
second:
enabled: 1
settings: {}
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
iPhone: iOS
second:
enabled: 1
settings: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 97ce4689e1585a044b7e4dffd6bbc56c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,93 @@
fileFormatVersion: 2
guid: aa8511f503d809c42a273bde2c2f2021
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
- first:
'': Any
second:
enabled: 0
settings:
Exclude Android: 1
Exclude Editor: 1
Exclude Linux: 1
Exclude Linux64: 1
Exclude LinuxUniversal: 1
Exclude OSXUniversal: 1
Exclude WebGL: 1
Exclude Win: 1
Exclude Win64: 1
Exclude WindowsStoreApps: 0
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
Facebook: Win
second:
enabled: 0
settings:
CPU: None
- first:
Facebook: Win64
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Linux
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Linux64
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: LinuxUniversal
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: x86
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win64
second:
enabled: 0
settings:
CPU: None
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 1
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,105 @@
fileFormatVersion: 2
guid: 752172c26201c084c8526c6e9a837897
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
- first:
'': Any
second:
enabled: 0
settings:
Exclude Android: 1
Exclude Editor: 1
Exclude Linux: 1
Exclude Linux64: 1
Exclude LinuxUniversal: 1
Exclude OSXUniversal: 1
Exclude WebGL: 1
Exclude Win: 1
Exclude Win64: 1
Exclude WindowsStoreApps: 0
- first:
Android: Android
second:
enabled: 0
settings:
CPU: ARMv7
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
- first:
Facebook: Win
second:
enabled: 0
settings:
CPU: None
- first:
Facebook: Win64
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Linux
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Linux64
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: LinuxUniversal
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: x86
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win64
second:
enabled: 0
settings:
CPU: None
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 1
settings:
CPU: AnyCPU
DontProcess: false
PlaceholderPath: Assets/Mapbox/Core/Plugins/Mapbox/vector-tile-cs/net46/Mapbox.VectorTile.Geometry.dll
SDK: AnySDK
ScriptingBackend: AnyScriptingBackend
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,93 @@
fileFormatVersion: 2
guid: 11d5b9a726730e34ea222ff8e6b1def9
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
- first:
'': Any
second:
enabled: 0
settings:
Exclude Android: 1
Exclude Editor: 1
Exclude Linux: 1
Exclude Linux64: 1
Exclude LinuxUniversal: 1
Exclude OSXUniversal: 1
Exclude WebGL: 1
Exclude Win: 1
Exclude Win64: 1
Exclude WindowsStoreApps: 0
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
Facebook: Win
second:
enabled: 0
settings:
CPU: None
- first:
Facebook: Win64
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Linux
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Linux64
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: LinuxUniversal
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: x86
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win64
second:
enabled: 0
settings:
CPU: None
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 1
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,93 @@
fileFormatVersion: 2
guid: ea87c215fce9c204abdb685f22703bd0
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
- first:
'': Any
second:
enabled: 0
settings:
Exclude Android: 1
Exclude Editor: 1
Exclude Linux: 1
Exclude Linux64: 1
Exclude LinuxUniversal: 1
Exclude OSXUniversal: 1
Exclude WebGL: 1
Exclude Win: 1
Exclude Win64: 1
Exclude WindowsStoreApps: 0
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
Facebook: Win
second:
enabled: 0
settings:
CPU: None
- first:
Facebook: Win64
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Linux
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Linux64
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: LinuxUniversal
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: x86
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win64
second:
enabled: 0
settings:
CPU: None
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 1
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c104ec983f3ab8449b282d2575d121be
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: d48f48be6a9fdf541a5f1be3255c1fab
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 24c715a612ec20a42a86ac2009f2abb7
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,133 @@
fileFormatVersion: 2
guid: 5702dec8310c4074e984765a688fa0d2
timeCreated: 1489780328
licenseType: Pro
PluginImporter:
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
data:
first:
Android: Android
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Any:
second:
enabled: 0
settings: {}
data:
first:
Editor: Editor
second:
enabled: 1
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
data:
first:
Facebook: WebGL
second:
enabled: 1
settings: {}
data:
first:
Facebook: Win
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Facebook: Win64
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: Linux
second:
enabled: 1
settings:
CPU: x86
data:
first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: x86_64
data:
first:
Standalone: LinuxUniversal
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: OSXIntel
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: OSXIntel64
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: OSXUniversal
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: Win
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
WebGL: WebGL
second:
enabled: 1
settings: {}
data:
first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
data:
first:
iPhone: iOS
second:
enabled: 1
settings:
CompileFlags:
FrameworkDependencies:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: fcefe66a47d635d4e80cca2549f55493
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,100 @@
fileFormatVersion: 2
guid: ce2a229872b27d142b0962c2e5e2ebc2
timeCreated: 1490036479
licenseType: Pro
PluginImporter:
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
data:
first:
Any:
second:
enabled: 0
settings: {}
data:
first:
Editor: Editor
second:
enabled: 0
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
data:
first:
Facebook: Win
second:
enabled: 0
settings:
CPU: AnyCPU
data:
first:
Facebook: Win64
second:
enabled: 0
settings:
CPU: AnyCPU
data:
first:
Standalone: Linux
second:
enabled: 0
settings:
CPU: x86
data:
first:
Standalone: Linux64
second:
enabled: 0
settings:
CPU: x86_64
data:
first:
Standalone: OSXIntel
second:
enabled: 0
settings:
CPU: AnyCPU
data:
first:
Standalone: OSXIntel64
second:
enabled: 0
settings:
CPU: AnyCPU
data:
first:
Standalone: Win
second:
enabled: 0
settings:
CPU: AnyCPU
data:
first:
Standalone: Win64
second:
enabled: 0
settings:
CPU: AnyCPU
data:
first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
iPhone: iOS
second:
enabled: 0
settings:
CompileFlags:
FrameworkDependencies:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: bdaa6d5093c737940a8a9f76e2c9e5ce
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: d1e6581f49522654daece42d507c423d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,70 @@
fileFormatVersion: 2
guid: 5c4fdb215216a4b30aa29f0fa1b4ab1d
timeCreated: 1489780328
licenseType: Pro
PluginImporter:
serializedVersion: 1
iconMap: {}
executionOrder: {}
isPreloaded: 0
platformData:
Any:
enabled: 0
settings: {}
Editor:
enabled: 1
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
Linux:
enabled: 1
settings:
CPU: x86
Android:
enabled: 1
settings:
CPU: AnyCPU
Linux64:
enabled: 1
settings:
CPU: x86_64
LinuxUniversal:
enabled: 1
settings:
CPU: AnyCPU
OSXIntel:
enabled: 1
settings:
CPU: AnyCPU
OSXIntel64:
enabled: 1
settings:
CPU: AnyCPU
OSXUniversal:
enabled: 1
settings:
CPU: AnyCPU
WebGL:
enabled: 1
settings: {}
Win:
enabled: 1
settings:
CPU: AnyCPU
Win64:
enabled: 1
settings:
CPU: AnyCPU
WindowsStoreApps:
enabled: 0
settings:
CPU: AnyCPU
iOS:
enabled: 1
settings:
CompileFlags:
FrameworkDependencies:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 21756548d9556494f90734f953cd7fcf
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,55 @@
fileFormatVersion: 2
guid: 17a28c5bac36f4e7bbf6e500e16cf2f3
timeCreated: 1490036479
licenseType: Pro
PluginImporter:
serializedVersion: 1
iconMap: {}
executionOrder: {}
isPreloaded: 0
platformData:
Any:
enabled: 0
settings: {}
Editor:
enabled: 0
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
Linux:
enabled: 0
settings:
CPU: x86
Linux64:
enabled: 0
settings:
CPU: x86_64
OSXIntel:
enabled: 0
settings:
CPU: AnyCPU
OSXIntel64:
enabled: 0
settings:
CPU: AnyCPU
Win:
enabled: 0
settings:
CPU: AnyCPU
Win64:
enabled: 0
settings:
CPU: AnyCPU
WindowsStoreApps:
enabled: 1
settings:
CPU: AnyCPU
iOS:
enabled: 0
settings:
CompileFlags:
FrameworkDependencies:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 9e8a419c652caf246ad3b669af2971f6
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,18 @@
#import <MapboxMobileEvents/MapboxMobileEvents.h>
void initialize(const char* accessToken, const char* userAgentBase, const char* hostSDKVersion) {
[[MMEEventsManager sharedManager] initializeWithAccessToken:[NSString stringWithUTF8String:accessToken]
userAgentBase:[NSString stringWithUTF8String:userAgentBase]
hostSDKVersion:[NSString stringWithUTF8String:hostSDKVersion]];
}
void sendTurnstileEvent() {
[[MMEEventsManager sharedManager] sendTurnstileEvent];
}
void setLocationCollectionState(bool enable) {
[MMEEventsManager sharedManager].metricsEnabled = enable;
}
void setSkuId(const char* skuId){
[MMEEventsManager sharedManager].skuId = [NSString stringWithUTF8String:skuId];
}

@ -0,0 +1,26 @@
fileFormatVersion: 2
guid: 4172b185b7b5c4f4ab2f6d7bd134ea29
timeCreated: 1495158819
licenseType: Free
PluginImporter:
serializedVersion: 1
iconMap: {}
executionOrder: {}
isPreloaded: 0
platformData:
Editor:
enabled: 0
settings:
DefaultValueInitialized: true
data:
enabled: 0
settings: {}
iOS:
enabled: 1
settings: {}
tvOS:
enabled: 1
settings: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 3fd6399794525486eb643e088be91043
folderAsset: yes
timeCreated: 1570559658
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: e7e2d4a394d304e08bdabe8230a7df35
folderAsset: yes
timeCreated: 1570559763
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 942001b48b74c4874a534a287e791e27
folderAsset: yes
timeCreated: 1570559763
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,197 @@
#import <Foundation/Foundation.h>
#import "MMETypes.h"
extern NSString * const MMEAPIClientBaseURL;
extern NSString * const MMEAPIClientBaseAPIURL;
extern NSString * const MMEAPIClientBaseChinaEventsURL;
extern NSString * const MMEAPIClientBaseChinaAPIURL;
extern NSString * const MMEAPIClientEventsPath;
extern NSString * const MMEAPIClientEventsConfigPath;
extern NSString * const MMEAPIClientAttachmentsPath;
extern NSString * const MMEAPIClientHeaderFieldUserAgentKey;
extern NSString * const MMEAPIClientHeaderFieldContentTypeKey;
extern NSString * const MMEAPIClientHeaderFieldContentTypeValue;
extern NSString * const MMEAPIClientAttachmentsHeaderFieldContentTypeValue;
extern NSString * const MMEAPIClientHeaderFieldContentEncodingKey;
extern NSString * const MMEAPIClientHTTPMethodPost;
extern NSString * const MMEAPIClientHTTPMethodGet;
// Debug types
extern NSString * const MMEDebugEventType;
extern NSString * const MMEDebugEventTypeError;
extern NSString * const MMEDebugEventTypeFlush;
extern NSString * const MMEDebugEventTypePush;
extern NSString * const MMEDebugEventTypePost;
extern NSString * const MMEDebugEventTypePostFailed;
extern NSString * const MMEDebugEventTypeTurnstile;
extern NSString * const MMEDebugEventTypeTurnstileFailed;
extern NSString * const MMEDebugEventTypeBackgroundTask;
extern NSString * const MMEDebugEventTypeMetricCollection;
extern NSString * const MMEDebugEventTypeLocationManager;
extern NSString * const MMEDebugEventTypeTelemetryMetrics;
extern NSString * const MMEDebugEventTypeCertPinning;
// Event types
extern NSString * const MMEEventTypeAppUserTurnstile;
extern NSString * const MMEEventTypeTelemetryMetrics;
extern NSString * const MMEEventTypeMapLoad;
extern NSString * const MMEEventTypeLocation;
extern NSString * const MMEEventTypeVisit;
extern NSString * const MMEEventTypeLocalDebug;
extern NSString * const MMEventTypeOfflineDownloadStart;
extern NSString * const MMEventTypeOfflineDownloadEnd;
// Event keys
extern NSString * const MMEEventKeyArrivalDate;
extern NSString * const MMEEventKeyDepartureDate;
extern NSString * const MMEEventKeyLatitude;
extern NSString * const MMEEventKeyLongitude;
extern NSString * const MMEEventKeyZoomLevel;
extern NSString * const MMEEventKeyMaxZoomLevel;
extern NSString * const MMEEventKeyMinZoomLevel;
extern NSString * const MMEEventKeyEvent;
extern NSString * const MMEEventKeyCreated;
extern NSString * const MMEEventKeyStyleURL;
extern NSString * const MMEEventKeyVendorId;
extern NSString * const MMEEventKeyModel;
extern NSString * const MMEEventKeyDevice;
extern NSString * const MMEEventKeySkuId;
extern NSString * const MMEEventKeyEnabledTelemetry;
extern NSString * const MMEEventKeyOperatingSystem;
extern NSString * const MMEEventKeyResolution;
extern NSString * const MMEEventKeyAccessibilityFontScale;
extern NSString * const MMEEventKeyOrientation;
extern NSString * const MMEEventKeyPluggedIn;
extern NSString * const MMEEventKeyWifi;
extern NSString * const MMEEventKeyShapeForOfflineRegion;
extern NSString * const MMEEventKeySource;
extern NSString * const MMEEventKeySessionId;
extern NSString * const MMEEventKeyApplicationState;
extern NSString * const MMEEventKeyAltitude;
extern NSString * const MMEEventKeyLocationAuthorization;
extern NSString * const MMEEventKeyLocationEnabled;
extern NSString * const MMEEventHorizontalAccuracy;
extern NSString * const MMEEventSDKIdentifier;
extern NSString * const MMEEventSDKVersion;
extern NSString * const MMEEventKeyLocalDebugDescription;
extern NSString * const MMEEventKeyErrorCode;
extern NSString * const MMEEventKeyErrorDomain;
extern NSString * const MMEEventKeyErrorDescription;
extern NSString * const MMEEventKeyErrorFailureReason;
extern NSString * const MMEEventKeyErrorNoReason;
extern NSString * const MMEEventKeyErrorNoDomain;
extern NSString * const MMEEventKeyFailedRequests;
extern NSString * const MMEEventKeyHeader;
extern NSString * const MMEEventKeyPlatform;
extern NSString * const MMEEventKeyUserAgent;
extern NSString * const MMEEventKeyiOS;
extern NSString * const MMEEventKeyMac;
extern NSString * const MMENavigationEventPrefix;
extern NSString * const MMEVisionEventPrefix;
extern NSString * const MMEEventTypeNavigationDepart;
extern NSString * const MMEEventTypeNavigationArrive;
extern NSString * const MMEEventTypeNavigationCancel;
extern NSString * const MMEEventTypeNavigationFeedback;
extern NSString * const MMEEventTypeNavigationReroute;
extern NSString * const MMEventTypeNavigationCarplayConnect;
extern NSString * const MMEventTypeNavigationCarplayDisconnect;
extern NSString * const MMEEventTypeSearchSelected;
extern NSString * const MMEEventTypeSearchFeedback;
extern NSString * const MMESearchEventPrefix;
extern NSString * const MMEEventDateUTC;
extern NSString * const MMEEventRequests;
extern NSString * const MMEEventTotalDataSent;
extern NSString * const MMEEventCellDataSent;
extern NSString * const MMEEventWiFiDataSent;
extern NSString * const MMEEventTotalDataReceived;
extern NSString * const MMEEventCellDataReceived;
extern NSString * const MMEEventWiFiDataReceived;
extern NSString * const MMEEventAppWakeups;
extern NSString * const MMEEventEventCountPerType;
extern NSString * const MMEEventEventCountFailed;
extern NSString * const MMEEventEventCountTotal;
extern NSString * const MMEEventEventCountMax;
extern NSString * const MMEEventDeviceLat;
extern NSString * const MMEEventDeviceLon;
extern NSString * const MMEEventDeviceTimeDrift;
extern NSString * const MMEEventConfigResponse;
extern NSString * const MMEEventStatusDenied;
extern NSString * const MMEEventStatusRestricted;
extern NSString * const MMEEventStatusNotDetermined;
extern NSString * const MMEEventStatusAuthorizedAlways;
extern NSString * const MMEEventStatusAuthorizedWhenInUse;
extern NSString * const MMEEventUnknown;
extern NSString * const MMEResponseKey;
/*! @brief SDK event source */
extern NSString * const MMEEventSource;
#pragma mark - mobile.crash Keys
extern NSString * const MMEEventMobileCrash;
extern NSString * const MMEEventKeyOSVersion;
extern NSString * const MMEEventKeyBuildType;
extern NSString * const MMEEventKeyIsSilentCrash;
extern NSString * const MMEEventKeyStackTrace;
extern NSString * const MMEEventKeyStackTraceHash;
extern NSString * const MMEEventKeyInstallationId;
extern NSString * const MMEEventKeyThreadDetails;
extern NSString * const MMEEventKeyAppId;
extern NSString * const MMEEventKeyAppVersion;
extern NSString * const MMEEventKeyAppStartDate;
extern NSString * const MMEEventKeyCustomData;
#pragma mark - MMEErrorDomain
/*! @brief NSErrorDomain for MapboxMobileEvents */
extern NSErrorDomain const MMEErrorDomain;
/*! @brief MMEErrorDomain Error Numbers
- MMENoError: No Error
- MMEErrorException for exceptions
- MMEErrorEventInit for errors when initlizing events
- MMEErrorEventInitMissingKey if the event attributes dictionary does not include the event key,
- MMEErrorEventInitException if an exception occured durring initWithAttributes:error:,
- MMEErrorEventInitInvalid if the provided eventAttributes cannot be converted to JSON objects
*/
typedef NS_ENUM(NSInteger, MMEErrorNumber) {
MMENoError = 0,
MMEErrorException = 10001,
MMEErrorEventInit = 10002,
MMEErrorEventInitMissingKey = 10003,
MMEErrorEventInitException = 10004,
MMEErrorEventInitInvalid = 10005,
MMEErrorEventEncoding = 10006,
MMEErrorEventCounting = 10007
};
/*! @brief key for MMEErrorEventInit userInfo dictionary containing the attributes which failed to create the event */
extern NSString * const MMEErrorEventAttributesKey;
/*! @brief key for MMEErrorDomain userInfo dictionary containing the underlying exception which triggered the error */
extern NSString * const MMEErrorUnderlyingExceptionKey;
#pragma mark - Deprecated
extern NSString * const MMEErrorDescriptionKey; MME_DEPRECATED_MSG("Use NSLocalizedDescriptionKey")
extern NSString * const MMEEventKeyVendorID MME_DEPRECATED_MSG("Use MMEEventKeyVendorId");
extern NSString * const MMEEventKeyInstallationID MME_DEPRECATED_MSG("Use MMEEventKeyInstallationId");
extern NSString * const MMEEventKeyAppID MME_DEPRECATED_MSG("Use MMEEventKeyInstallationId");
extern NSString * const MMELoggerHTML MME_DEPRECATED;
extern NSString * const MMELoggerShareableHTML MME_DEPRECATED;
extern NSString * const MMEEventKeyGestureId MME_DEPRECATED;
extern NSString * const MMEEventKeyGestureID MME_DEPRECATED;
extern NSString * const MMEEventGestureSingleTap MME_DEPRECATED;
extern NSString * const MMEEventGestureDoubleTap MME_DEPRECATED;
extern NSString * const MMEEventGestureTwoFingerSingleTap MME_DEPRECATED;
extern NSString * const MMEEventGestureQuickZoom MME_DEPRECATED;
extern NSString * const MMEEventGesturePanStart MME_DEPRECATED;
extern NSString * const MMEEventGesturePinchStart MME_DEPRECATED;
extern NSString * const MMEEventGestureRotateStart MME_DEPRECATED;
extern NSString * const MMEEventGesturePitchStart MME_DEPRECATED;
extern NSString * const MMEEventTypeMapTap MME_DEPRECATED;
extern NSString * const MMEEventTypeMapDragEnd MME_DEPRECATED;

@ -0,0 +1,26 @@
fileFormatVersion: 2
guid: 6718394795f184698a40cb2aaeb50e0f
timeCreated: 1570560566
licenseType: Pro
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,172 @@
#import <Foundation/Foundation.h>
#import "MMETypes.h"
NS_ASSUME_NONNULL_BEGIN
@class MMECommonEventData;
/*! @brief represents a telemetry event, with a name, date and attributes */
@interface MMEEvent : NSObject <NSCopying,NSSecureCoding>
/*! @brief date on which the event occured - MMEEventKeyDateCreated */
@property (nonatomic, readonly, copy) NSDate *date;
/*! @brief name of the event, from MMEConstants.h - MMEEventKeyEvent */
@property (nonatomic, readonly, copy) NSString *name;
/*! @brief attributes of the event, a dictionary for which [NSJSONSerialization isValidJSONObject:] returns YES */
@property (nonatomic, readonly, copy) NSDictionary *attributes;
/*! @brief Designated Initilizer for events
@param eventAttributes attributes of the event
@param error present if the event could not be created with the properties provided
@return a new event with the date, name and attributes provided
*/
- (instancetype)initWithAttributes:(NSDictionary *)eventAttributes error:(NSError **)error NS_DESIGNATED_INITIALIZER;
#pragma mark - Generic Events
/*! @brief eventWithAttributes: - initilization errors are reported to the EventsManagerDelegate
@param attributes attrs
@return event
*/
+ (instancetype)eventWithAttributes:(NSDictionary *)attributes;
/*! @brief eventWithAttributes: - initilization errors are reported to the EventsManagerDelegate
@param attributes attrs
@return event
*/
+ (instancetype)eventWithAttributes:(NSDictionary *)attributes error:(NSError **)error;
#pragma mark - Custom Events
/*! @brief turnstileEventWithAttributes:
@param attributes event attrs
@return turnstile event
*/
+ (instancetype)turnstileEventWithAttributes:(NSDictionary *)attributes;
/*! @brief visitEventWithAttributes:
@param attributes attrs
@return event
*/
+ (instancetype)visitEventWithAttributes:(NSDictionary *)attributes;
#pragma mark - Crash Events
/*! @brief crashEventReporting:error:
@param eventsError error to report
@param createError pointer to an error creating the report
@return event
*/
+ (instancetype)crashEventReporting:(NSError *)eventsError error:(NSError **)createError;
#pragma mark - Debug Devents
/*! @brief debugEventWithAttributes: debug logging event with attributes provided
@param attributes attrs
@return event
*/
+ (instancetype)debugEventWithAttributes:(NSDictionary *)attributes MME_DEPRECATED;
/*! @brief debugEventWithError: debug logging event with the error provided
@param error error
@return event
*/
+ (instancetype)debugEventWithError:(NSError *)error MME_DEPRECATED;
/*! @brief debugEventWithException: debug logging event the the exception provided
@param except exception
@return event
*/
+ (instancetype)debugEventWithException:(NSException *)except MME_DEPRECATED;
#pragma mark - Deprecated
#pragma mark - Deprecated (MMECommonEventData)
/*! @brief deprecated in MabboxMobileEvents 1.0.0 or later
@note please use eventWithAttributes:error:
*/
+ (instancetype)locationEventWithAttributes:(NSDictionary *)attributes instanceIdentifer:(NSString *)instanceIdentifer commonEventData:(MMECommonEventData *)commonEventData
MME_DEPRECATED_GOTO("use eventWithAttributes:error:", "-eventWithAttributes:error:");
/*! @brief deprecated in MabboxMobileEvents 1.0.0 or later
@note replacment TBD
*/
+ (instancetype)mapLoadEventWithDateString:(NSString *)dateString commonEventData:(MMECommonEventData *)commonEventData
MME_DEPRECATED_GOTO("use eventWithAttributes:error:", "-eventWithAttributes:error:");
#pragma mark - Deprecated (Event Name)
/*! @brief deprecated in MabboxMobileEvents 1.0.0 or later
@note please use eventWithAttributes:error:
*/
+ (instancetype)eventWithName:(NSString *)eventName attributes:(NSDictionary *)attributes
MME_DEPRECATED_GOTO("use eventWithAttributes:error:", "-eventWithAttributes:error:");
/*! @brief deprecated in MabboxMobileEvents 1.0.0 or later
@note please use eventWithAttributes:error:
*/
+ (instancetype)navigationEventWithName:(NSString *)name attributes:(NSDictionary *)attributes
MME_DEPRECATED_GOTO("use eventWithAttributes:error:", "-eventWithAttributes:error:");
/*! @brief deprecated in MabboxMobileEvents 1.0.0 or later
@note please use eventWithAttributes:error:
*/
+ (instancetype)visionEventWithName:(NSString *)name attributes:(NSDictionary *)attributes
MME_DEPRECATED_GOTO("use eventWithAttributes:error:", "-eventWithAttributes:error:");
/*! @brief deprecated in MabboxMobileEvents 1.0.0 or later
@note please use eventWithAttributes:error:
*/
+ (instancetype)searchEventWithName:(NSString *)name attributes:(NSDictionary *)attributes
MME_DEPRECATED_GOTO("use eventWithAttributes:error:", "-eventWithAttributes:error:");
/*! brief deprecated in MabboxMobileEvents 1.0.0 or later
@note please use eventWithAttributes:error:
*/
+ (instancetype)carplayEventWithName:(NSString *)name attributes:(NSDictionary *)attributes
MME_DEPRECATED_GOTO("use eventWithAttributes:error:", "-eventWithAttributes:error:");
#pragma mark - Deprecated (Date String)
/*! @brief deprecated in MabboxMobileEvents 1.0.0 or later
@note please use eventWithName:attributes:
*/
+ (instancetype)telemetryMetricsEventWithDateString:(NSString *)dateString attributes:(NSDictionary *)attributes
MME_DEPRECATED_GOTO("use eventWithAttributes:error:", "-eventWithAttributes:error:");
/*! @brief deprecated in MabboxMobileEvents 1.0.0 or later
@note map gesture events are no longer supported
*/
+ (instancetype)mapTapEventWithDateString:(NSString *)dateString attributes:(NSDictionary *)attributes
MME_DEPRECATED_MSG("map gesture events are no longer supported");
/*! @brief deprecated in MabboxMobileEvents 1.0.0 or later
@note map gesture events are no longer supported
*/
+ (instancetype)mapDragEndEventWithDateString:(NSString *)dateString attributes:(NSDictionary *)attributes
MME_DEPRECATED_MSG("map gesture events are no longer supported");
/*! @brief deprecated in MabboxMobileEvents 1.0.0 or later
@note please use eventWithName:attributes:
*/
+ (instancetype)mapOfflineDownloadStartEventWithDateString:(NSString *)dateString attributes:(NSDictionary *)attributes
MME_DEPRECATED_GOTO("use eventWithAttributes:error:", "-eventWithAttributes:error:");
/*! @brief deprecated in MabboxMobileEvents 1.0.0 or later
@note please use eventWithName:attributes:
*/
+ (instancetype)mapOfflineDownloadEndEventWithDateString:(NSString *)dateString attributes:(NSDictionary *)attributes
MME_DEPRECATED_GOTO("use eventWithAttributes:error:", "-eventWithAttributes:error:");
/*! @brief deprecated in MabboxMobileEvents 1.0.0 or later
@note please use eventWithName:attributes:
*/
+ (instancetype)eventWithDateString:(NSString *)dateString name:(NSString *)name attributes:(NSDictionary *)attributes
MME_DEPRECATED_GOTO("use eventWithAttributes:error:", "-eventWithAttributes:error:");
@end
NS_ASSUME_NONNULL_END

@ -0,0 +1,26 @@
fileFormatVersion: 2
guid: 6c1879202f10e4c3da36b4eac7f010e1
timeCreated: 1570560566
licenseType: Pro
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,152 @@
#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>
#import "MMETypes.h"
@class MMEEvent;
@protocol MMEEventsManagerDelegate;
NS_ASSUME_NONNULL_BEGIN
/*! @brief Mapbox Mobile Events Manager */
@interface MMEEventsManager : NSObject
/*! @brief events manager delegate */
@property (nonatomic, weak) id<MMEEventsManagerDelegate> delegate;
/*! @brief YES if metrics collection is enabled */
@property (nonatomic, getter=isMetricsEnabled) BOOL metricsEnabled;
/*! @brief YES if metrics collection is enabled in the simulator */
@property (nonatomic, getter=isMetricsEnabledInSimulator) BOOL metricsEnabledInSimulator;
/*! @brief YES if metrics collection is enabled when the app is in use */
@property (nonatomic, getter=isMetricsEnabledForInUsePermissions) BOOL metricsEnabledForInUsePermissions;
/*! @brief YES if debug logging is enabled */
@property (nonatomic, getter=isDebugLoggingEnabled) BOOL debugLoggingEnabled;
/*! @brief UserAgent base string, in RFC 2616 format
@link https://www.ietf.org/rfc/rfc2616.txt */
@property (nonatomic, readonly) NSString *userAgentBase;
/*! @brief SDK version, in Semantic Versioning 2.0.0 format
@link https://semver.org */
@property (nonatomic, readonly) NSString *hostSDKVersion;
/*! @brief SKU Identifier */
@property (nonatomic, copy) NSString *skuId;
/*! @brief Mapbox Access Token
@link https://account.mapbox.com */
@property (nonatomic, copy) NSString *accessToken;
/*! @brief baseURL */
@property (nonatomic, null_resettable) NSURL *baseURL;
/*! @brief accountType */
@property (nonatomic) NSInteger accountType;
#pragma mark -
/*! @brief Shared Mabpox Mobile Events Manager */
+ (instancetype)sharedManager;
#pragma mark - Exception Free API
/*!
@brief designated initilizer
@param accessToken Mapbox Access Token
@param userAgentBase UserAgent base string, in RFC 2616 format
@param hostSDKVersion SDK version, in Semantic Versioning 2.0.0 format
@throws no exceptions
*/
- (void)initializeWithAccessToken:(NSString *)accessToken userAgentBase:(NSString *)userAgentBase hostSDKVersion:(NSString *)hostSDKVersion;
/*! @brief pauseOrResumeMetricsCollectionIfRequired
@throws no exceptions */
- (void)pauseOrResumeMetricsCollectionIfRequired;
/*! @brief flush the events pipeline, sending any pending events
@throws no exceptions */
- (void)flush;
/*! @brief resetEventQueuing
@throws no exceptions */
- (void)resetEventQueuing;
/*! @brief sendTurnstileEvent
@throws no exceptions */
- (void)sendTurnstileEvent;
/*! @brief sendTelemetryMetricsEvent
@throws no exceptions */
- (void)sendTelemetryMetricsEvent;
/*! @brief disableLocationMetrics */
- (void)disableLocationMetrics;
#pragma mark -
/*! @brief enqueueEventWithName:
@param name event name */
- (void)enqueueEventWithName:(NSString *)name;
/*! @brief enqueueEventWithName:attributes:
@param name event name
@param attributes event attributes */
- (void)enqueueEventWithName:(NSString *)name attributes:(MMEMapboxEventAttributes *)attributes;
/*! @brief postMetadata:filePaths:completionHander:
@param metadata array of metadat
@param filePaths array of file paths
@param completionHandler completion handler block
*/
- (void)postMetadata:(NSArray *)metadata filePaths:(NSArray *)filePaths completionHandler:(nullable void (^)(NSError * _Nullable error))completionHandler;
- (void)displayLogFileFromDate:(NSDate *)logDate MME_DEPRECATED;
#pragma mark - Error & Exception Reporting
/*! @brief report an error to the telemetry service
@return the report event, for inspection or logging
@throws no exceptions */
- (MMEEvent *)reportError:(NSError *)eventsError;
/*! @brief report an exception to the telemetry service
@return the report event, for inspection or logging
@throws no exceptions */
- (MMEEvent *)reportException:(NSException *)eventException;
@end
#pragma mark -
/*! @brief delegate methods for MMEEventsManager */
@protocol MMEEventsManagerDelegate <NSObject>
@optional
/*! @brief eventsManager:didUpdateLocations: reports location updates to the delegate
@param eventsManager shared manager
@param locations array of CLLocations
*/
- (void)eventsManager:(MMEEventsManager *)eventsManager didUpdateLocations:(NSArray<CLLocation *> *)locations;
#if TARGET_OS_IOS
/*! @brief eventsManager:didVisit: reports visits to the delegate
@param eventsManager shared manager
@param visit CLVisit
*/
- (void)eventsManager:(MMEEventsManager *)eventsManager didVisit:(CLVisit *)visit;
#endif
/** @brief reports errors encoutered by the Events Manager to the delegate
@param eventsManager the shared events manager
@param error the encountered NSError object
*/
- (void)eventsManager:(MMEEventsManager *)eventsManager didEncounterError:(NSError *)error;
@end
NS_ASSUME_NONNULL_END

@ -0,0 +1,26 @@
fileFormatVersion: 2
guid: 3edca867bab9748d6be5abf6b6006229
timeCreated: 1570560566
licenseType: Pro
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,54 @@
#import <Foundation/Foundation.h>
#ifndef NS_ARRAY_OF
// Foundation collection classes adopted lightweight generics in iOS 9.0 and OS X 10.11 SDKs.
#if __has_feature(objc_generics) && (__IPHONE_OS_VERSION_MAX_ALLOWED >= 90000 || __MAC_OS_X_VERSION_MAX_ALLOWED >= 101100)
/** Inserts a type specifier for a pointer to a lightweight generic with the given collection and object classes. Use a `*` for any non-`id` object classes but no `*` for the collection class. */
#define NS_ARRAY_OF(ObjectClass...) NSArray <ObjectClass>
#define NS_MUTABLE_ARRAY_OF(ObjectClass...) NSMutableArray <ObjectClass>
#define NS_SET_OF(ObjectClass...) NSSet <ObjectClass>
#define NS_MUTABLE_SET_OF(ObjectClass...) NSMutableSet <ObjectClass>
#define NS_DICTIONARY_OF(ObjectClass...) NSDictionary <ObjectClass>
#define NS_MUTABLE_DICTIONARY_OF(ObjectClass...) NSMutableDictionary <ObjectClass>
#else
#define NS_ARRAY_OF(ObjectClass...) NSArray
#define NS_MUTABLE_ARRAY_OF(ObjectClass...) NSMutableArray
#define NS_SET_OF(ObjectClass...) NSSet
#define NS_MUTABLE_SET_OF(ObjectClass...) NSMutableSet
#define NS_DICTIONARY_OF(ObjectClass...) NSDictionary
#define NS_MUTABLE_DICTIONARY_OF(ObjectClass...) NSMutableDictionary
#endif
#endif
typedef NS_DICTIONARY_OF(NSString *, id) MMEMapboxEventAttributes;
typedef NS_MUTABLE_DICTIONARY_OF(NSString *, id) MMEMutableMapboxEventAttributes;
#ifdef MME_DEPRECATION_WARNINGS
#ifndef MME_DEPRECATED
#define MME_DEPRECATED __attribute__((deprecated))
#endif
#ifndef MME_DEPRECATED_MSG
#define MME_DEPRECATED_MSG(msg) __attribute((deprecated((msg))))
#endif
#ifndef MME_DEPRECATED_GOTO
#define MME_DEPRECATED_GOTO(msg,label) __attribute((deprecated((msg),(label))))
#endif
#else
#ifndef MME_DEPRECATED
#define MME_DEPRECATED
#endif
#ifndef MME_DEPRECATED_MSG
#define MME_DEPRECATED_MSG(msg)
#endif
#ifndef MME_DEPRECATED_GOTO
#define MME_DEPRECATED_GOTO(msg,label)
#endif
#endif // MME_DEPRECATION_WARNINGS

@ -0,0 +1,26 @@
fileFormatVersion: 2
guid: 7743c930e90e943f4941ec6e3ad1a58f
timeCreated: 1570560566
licenseType: Pro
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,14 @@
#import <UIKit/UIKit.h>
//! Project version number for MapboxMobileEvents.
FOUNDATION_EXPORT double MapboxMobileEventsVersionNumber;
//! Project version string for MapboxMobileEvents
FOUNDATION_EXPORT const unsigned char MapboxMobileEventsVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <MapboxMobileEvents/PublicHeader.h>
#import <MapboxMobileEvents/MMEConstants.h>
#import <MapboxMobileEvents/MMEEvent.h>
#import <MapboxMobileEvents/MMETypes.h>
#import <MapboxMobileEvents/MMEEventsManager.h>

@ -0,0 +1,26 @@
fileFormatVersion: 2
guid: 458ba4499a3bc4d2aafae9f55ca4c37e
timeCreated: 1570560566
licenseType: Pro
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,106 @@
fileFormatVersion: 2
guid: 902cd5fd1c6e74a17a41d7527de5b07b
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
'': Any
second:
enabled: 0
settings:
Exclude Android: 1
Exclude Editor: 1
Exclude Linux: 1
Exclude Linux64: 1
Exclude LinuxUniversal: 1
Exclude OSXUniversal: 1
Exclude WebGL: 1
Exclude Win: 1
Exclude Win64: 1
Exclude iOS: 0
- first:
Android: Android
second:
enabled: 0
settings:
CPU: ARMv7
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
- first:
Facebook: Win
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Facebook: Win64
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Standalone: Linux
second:
enabled: 0
settings:
CPU: x86
- first:
Standalone: Linux64
second:
enabled: 0
settings:
CPU: x86_64
- first:
Standalone: LinuxUniversal
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Standalone: Win64
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
iPhone: iOS
second:
enabled: 1
settings:
AddToEmbeddedBinaries: false
CompileFlags:
FrameworkDependencies:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,29 @@
<linker>
<assembly fullname="System">
<type fullname="System.ComponentModel.TypeConverter" preserve="all"/>
<type fullname="System.ComponentModel.ArrayConverter" preserve="all"/>
<type fullname="System.ComponentModel.BaseNumberConverter" preserve="all"/>
<type fullname="System.ComponentModel.BooleanConverter" preserve="all"/>
<type fullname="System.ComponentModel.ByteConverter" preserve="all"/>
<type fullname="System.ComponentModel.CharConverter" preserve="all"/>
<type fullname="System.ComponentModel.CollectionConverter" preserve="all"/>
<type fullname="System.ComponentModel.ComponentConverter" preserve="all"/>
<type fullname="System.ComponentModel.CultureInfoConverter" preserve="all"/>
<type fullname="System.ComponentModel.DateTimeConverter" preserve="all"/>
<type fullname="System.ComponentModel.DecimalConverter" preserve="all"/>
<type fullname="System.ComponentModel.DoubleConverter" preserve="all"/>
<type fullname="System.ComponentModel.EnumConverter" preserve="all"/>
<type fullname="System.ComponentModel.ExpandableObjectConverter" preserve="all"/>
<type fullname="System.ComponentModel.Int16Converter" preserve="all"/>
<type fullname="System.ComponentModel.Int32Converter" preserve="all"/>
<type fullname="System.ComponentModel.Int64Converter" preserve="all"/>
<type fullname="System.ComponentModel.NullableConverter" preserve="all"/>
<type fullname="System.ComponentModel.SByteConverter" preserve="all"/>
<type fullname="System.ComponentModel.SingleConverter" preserve="all"/>
<type fullname="System.ComponentModel.StringConverter" preserve="all"/>
<type fullname="System.ComponentModel.TimeSpanConverter" preserve="all"/>
<type fullname="System.ComponentModel.UInt16Converter" preserve="all"/>
<type fullname="System.ComponentModel.UInt32Converter" preserve="all"/>
<type fullname="System.ComponentModel.UInt64Converter" preserve="all"/>
</assembly>
</linker>

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 4cdb20be19794f045b7be9be4b5c0411
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 9b6db522e589f6648ac1c512b86ffee7
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: f9aa937fca8cbd945a3a1c9a32a2aeca
folderAsset: yes
timeCreated: 1445131378
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 8ecc37cde00565d439803ae86521a2be
folderAsset: yes
timeCreated: 1445131378
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 2325a98c27e0cd84a821f71d86995361
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,94 @@
fileFormatVersion: 2
guid: aff4a781acb7b3e44ad44913092f0136
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
- first:
'': Any
second:
enabled: 0
settings:
Exclude Android: 0
Exclude Editor: 1
Exclude Linux: 1
Exclude Linux64: 1
Exclude LinuxUniversal: 1
Exclude OSXUniversal: 1
Exclude WebGL: 1
Exclude Win: 1
Exclude Win64: 1
- first:
Android: Android
second:
enabled: 1
settings:
CPU: ARM64
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
- first:
Facebook: Win
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Facebook: Win64
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Standalone: Linux
second:
enabled: 0
settings:
CPU: x86
- first:
Standalone: Linux64
second:
enabled: 0
settings:
CPU: x86_64
- first:
Standalone: LinuxUniversal
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: x86
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Standalone: Win64
second:
enabled: 0
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 08b2651045c57a441975bfde798f2859
folderAsset: yes
timeCreated: 1445131378
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,70 @@
fileFormatVersion: 2
guid: a00620409803a41f598cabed0c2ecf9f
PluginImporter:
serializedVersion: 1
iconMap: {}
executionOrder: {}
isPreloaded: 0
platformData:
Android:
enabled: 1
settings:
CPU: ARMv7
Any:
enabled: 0
settings: {}
Editor:
enabled: 0
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
Linux:
enabled: 0
settings:
CPU: x86
Linux64:
enabled: 0
settings:
CPU: x86_64
OSXIntel:
enabled: 0
settings:
CPU: AnyCPU
OSXIntel64:
enabled: 0
settings:
CPU: AnyCPU
SamsungTV:
enabled: 0
settings:
STV_MODEL: STANDARD_13
WP8:
enabled: 0
settings:
CPU: AnyCPU
DontProcess: False
PlaceholderPath:
Win:
enabled: 0
settings:
CPU: AnyCPU
Win64:
enabled: 0
settings:
CPU: AnyCPU
WindowsStoreApps:
enabled: 0
settings:
CPU: AnyCPU
DontProcess: False
PlaceholderPath:
SDK: AnySDK
iOS:
enabled: 0
settings:
CompileFlags:
FrameworkDependencies:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 450e0a9c89bf4a040b26f1fef13f5655
folderAsset: yes
timeCreated: 1445131378
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,55 @@
fileFormatVersion: 2
guid: fa9cbdc3a67e5fd4baeb5d0dd3f4cf71
timeCreated: 1445131383
licenseType: Free
PluginImporter:
serializedVersion: 1
iconMap: {}
executionOrder: {}
isPreloaded: 0
platformData:
Android:
enabled: 1
settings:
CPU: x86
Any:
enabled: 0
settings: {}
Editor:
enabled: 0
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
Linux:
enabled: 0
settings:
CPU: x86
Linux64:
enabled: 0
settings:
CPU: x86_64
OSXIntel:
enabled: 0
settings:
CPU: AnyCPU
OSXIntel64:
enabled: 0
settings:
CPU: AnyCPU
Win:
enabled: 0
settings:
CPU: AnyCPU
Win64:
enabled: 0
settings:
CPU: AnyCPU
iOS:
enabled: 0
settings:
CompileFlags:
FrameworkDependencies:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: d080ad26255213a459eabfbd537e41b5
folderAsset: yes
timeCreated: 1445131378
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,63 @@
fileFormatVersion: 2
guid: a3fee75616c5ab0449e841e6fc8a5172
timeCreated: 1445131383
licenseType: Free
PluginImporter:
serializedVersion: 1
iconMap: {}
executionOrder: {}
isPreloaded: 0
platformData:
Android:
enabled: 0
settings:
CPU: AnyCPU
Editor:
enabled: 1
settings:
CPU: x86_64
DefaultValueInitialized: true
OS: AnyOS
Linux:
enabled: 1
settings:
CPU: x86
Linux64:
enabled: 1
settings:
CPU: x86_64
LinuxUniversal:
enabled: 1
settings:
CPU: AnyCPU
OSXIntel:
enabled: 1
settings:
CPU: AnyCPU
OSXIntel64:
enabled: 1
settings:
CPU: AnyCPU
OSXUniversal:
enabled: 1
settings:
CPU: AnyCPU
Win:
enabled: 0
settings:
CPU: None
Win64:
enabled: 1
settings:
CPU: AnyCPU
data:
enabled: 0
settings: {}
iOS:
enabled: 1
settings:
CompileFlags:
FrameworkDependencies:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 854bb0734038dc44e81cdde1d571a00f
folderAsset: yes
timeCreated: 1445131378
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,63 @@
fileFormatVersion: 2
guid: 34afd3dfc3051f3438965ecf7bd8c8df
timeCreated: 1445131383
licenseType: Free
PluginImporter:
serializedVersion: 1
iconMap: {}
executionOrder: {}
isPreloaded: 0
platformData:
Android:
enabled: 0
settings:
CPU: AnyCPU
Editor:
enabled: 1
settings:
CPU: x86
DefaultValueInitialized: true
OS: AnyOS
Linux:
enabled: 1
settings:
CPU: x86
Linux64:
enabled: 1
settings:
CPU: x86_64
LinuxUniversal:
enabled: 1
settings:
CPU: AnyCPU
OSXIntel:
enabled: 1
settings:
CPU: AnyCPU
OSXIntel64:
enabled: 1
settings:
CPU: AnyCPU
OSXUniversal:
enabled: 1
settings:
CPU: AnyCPU
Win:
enabled: 1
settings:
CPU: AnyCPU
Win64:
enabled: 0
settings:
CPU: None
data:
enabled: 0
settings: {}
iOS:
enabled: 0
settings:
CompileFlags:
FrameworkDependencies:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 49cd92bb9fe9ed9428a22e83866f702c
folderAsset: yes
timeCreated: 1510755841
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,164 @@
namespace Mapbox.CheapRulerCs
{
using System;
public enum CheapRulerUnits
{
Kilometers,
Miles,
NauticalMiles,
Meters,
Yards,
Feet,
Inches
}
public class CheapRuler
{
private double _kx;
private double _ky;
/// <summary>
/// Creates a ruler object that will approximate measurements around the given latitude. Units are one of: kilometers
/// </summary>
/// <param name="outputUnits"></param>
public CheapRuler(double latitude, CheapRulerUnits outputUnits = CheapRulerUnits.Kilometers)
{
double factor;
switch (outputUnits)
{
case CheapRulerUnits.Kilometers:
factor = 1.0d;
break;
case CheapRulerUnits.Miles:
factor = 1000.0d / 1609.344;
break;
case CheapRulerUnits.NauticalMiles:
factor = 1000.0d / 1852.0d;
break;
case CheapRulerUnits.Meters:
factor = 1000.0d;
break;
case CheapRulerUnits.Yards:
factor = 1000.0d / 0.9144;
break;
case CheapRulerUnits.Feet:
factor = 1000.0d / 0.3048;
break;
case CheapRulerUnits.Inches:
factor = 1000.0d / 0.0254;
break;
default:
factor = 1.0d;
break;
}
var cos = Math.Cos(latitude * Math.PI / 180);
var cos2 = 2 * cos * cos - 1;
var cos3 = 2 * cos * cos2 - cos;
var cos4 = 2 * cos * cos3 - cos2;
var cos5 = 2 * cos * cos4 - cos3;
// multipliers for converting longitude and latitude degrees into distance (http://1.usa.gov/1Wb1bv7)
_kx = factor * (111.41513 * cos - 0.09455 * cos3 + 0.00012 * cos5);
_ky = factor * (111.13209 - 0.56605 * cos2 + 0.0012 * cos4);
}
/// <summary>
/// Creates a ruler object from tile coordinates.
/// </summary>
/// <param name="y">Y TileId</param>
/// <param name="z">Zoom Level</param>
/// <param name="units"></param>
/// <returns></returns>
public static CheapRuler FromTile(int y, int z, CheapRulerUnits units = CheapRulerUnits.Kilometers)
{
var n = Math.PI * (1 - 2 * (y + 0.5) / Math.Pow(2, z));
var lat = Math.Atan(0.5 * (Math.Exp(n) - Math.Exp(-n))) * 180 / Math.PI;
return new CheapRuler(lat, units);
}
/// <summary>
/// Given two points returns the distance.
/// </summary>
/// <param name="a">point [longitude, latitude]</param>
/// <param name="b">point [longitude, latitude]</param>
/// <returns>Distance</returns>
public double Distance(double[] a, double[] b)
{
var dx = (a[0] - b[0]) * _kx;
var dy = (a[1] - b[1]) * _ky;
return Math.Sqrt(dx * dx + dy * dy);
}
/// <summary>
/// Returns the bearing between two points in angles.
/// </summary>
/// <param name="a">a point [longitude, latitude]</param>
/// <param name="b">b point [longitude, latitude]</param>
/// <returns>Bearing</returns>
public double Bearing(double[] a, double[] b)
{
var dx = (b[0] - a[0]) * _kx;
var dy = (b[1] - a[1]) * _ky;
if (dx == 0 && dy == 0)
{
return 0;
}
var bearing = Math.Atan2(dx, dy) * 180 / Math.PI;
if (bearing > 180)
{
bearing -= 360;
}
return bearing;
}
/// <summary>
/// Returns a new point given distance and bearing from the starting point.
/// </summary>
/// <param name="p"></param>
/// <param name="distance"></param>
/// <param name="bearing">point [longitude, latitude]</param>
/// <returns></returns>
public double[] Destination(double[] p, double distance, double bearing)
{
var a = (90 - bearing) * Math.PI / 180;
return offset(
p
, Math.Cos(a) * distance
, Math.Sin(a) * distance
);
}
/// <summary>
/// Returns a new point given easting and northing offsets (in ruler units) from the starting point.
/// </summary>
/// <param name="p">point [longitude, latitude]</param>
/// <param name="dx">dx easting</param>
/// <param name="dy">dy northing</param>
/// <returns>point [longitude, latitude]</returns>
private double[] offset(double[] p, double dx, double dy)
{
return new double[]
{
p[0] + dx / _kx,
p[1] + dy / _ky
};
}
}
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save