mixpanel-react-native 3.0.2 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/.github/workflows/node.js.yml +10 -3
  2. package/CHANGELOG.md +19 -0
  3. package/MixpanelReactNative.podspec +1 -1
  4. package/README.md +28 -3
  5. package/Samples/SimpleMixpanel/{App.js → App.tsx} +8 -8
  6. package/Samples/SimpleMixpanel/Gemfile +9 -0
  7. package/Samples/SimpleMixpanel/README.md +79 -0
  8. package/Samples/SimpleMixpanel/__tests__/{App-test.js → App.test.tsx} +3 -0
  9. package/Samples/SimpleMixpanel/android/app/build.gradle +58 -162
  10. package/Samples/SimpleMixpanel/android/app/src/debug/AndroidManifest.xml +1 -5
  11. package/Samples/SimpleMixpanel/android/app/src/main/AndroidManifest.xml +4 -4
  12. package/Samples/SimpleMixpanel/android/app/src/main/java/com/simplemixpanel/MainActivity.kt +22 -0
  13. package/Samples/SimpleMixpanel/android/app/src/main/java/com/simplemixpanel/MainApplication.kt +43 -0
  14. package/Samples/SimpleMixpanel/android/app/src/main/res/drawable/rn_edit_text_material.xml +37 -0
  15. package/Samples/SimpleMixpanel/android/app/src/main/res/values/styles.xml +1 -1
  16. package/Samples/SimpleMixpanel/android/build.gradle +11 -28
  17. package/Samples/SimpleMixpanel/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  18. package/Samples/SimpleMixpanel/android/gradle/wrapper/gradle-wrapper.properties +3 -1
  19. package/Samples/SimpleMixpanel/android/gradle.properties +17 -4
  20. package/Samples/SimpleMixpanel/android/gradlew +173 -109
  21. package/Samples/SimpleMixpanel/android/gradlew.bat +92 -89
  22. package/Samples/SimpleMixpanel/android/settings.gradle +1 -0
  23. package/Samples/SimpleMixpanel/app.json +1 -1
  24. package/Samples/SimpleMixpanel/babel.config.js +1 -1
  25. package/Samples/SimpleMixpanel/ios/.xcode.env +11 -0
  26. package/Samples/SimpleMixpanel/ios/Podfile +24 -13
  27. package/Samples/SimpleMixpanel/ios/SimpleMixpanel/AppDelegate.h +2 -4
  28. package/Samples/SimpleMixpanel/ios/SimpleMixpanel/AppDelegate.mm +31 -0
  29. package/Samples/SimpleMixpanel/ios/SimpleMixpanel/Images.xcassets/AppIcon.appiconset/Contents.json +30 -15
  30. package/Samples/SimpleMixpanel/ios/SimpleMixpanel/Info.plist +8 -11
  31. package/Samples/SimpleMixpanel/ios/SimpleMixpanel/PrivacyInfo.xcprivacy +38 -0
  32. package/Samples/SimpleMixpanel/ios/SimpleMixpanel/main.m +2 -1
  33. package/Samples/SimpleMixpanel/ios/SimpleMixpanel.xcodeproj/project.pbxproj +130 -114
  34. package/Samples/SimpleMixpanel/ios/SimpleMixpanelTests/SimpleMixpanelTests.m +14 -13
  35. package/Samples/SimpleMixpanel/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec-generated.mm +1895 -0
  36. package/Samples/SimpleMixpanel/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec.h +2343 -0
  37. package/Samples/SimpleMixpanel/ios/build/generated/ios/FBReactNativeSpecJSI-generated.cpp +2542 -0
  38. package/Samples/SimpleMixpanel/ios/build/generated/ios/FBReactNativeSpecJSI.h +8693 -0
  39. package/Samples/SimpleMixpanel/ios/build/generated/ios/RCTModulesConformingToProtocolsProvider.h +18 -0
  40. package/Samples/SimpleMixpanel/ios/build/generated/ios/RCTModulesConformingToProtocolsProvider.mm +33 -0
  41. package/Samples/SimpleMixpanel/ios/build/generated/ios/React-Codegen.podspec.json +1 -0
  42. package/Samples/SimpleMixpanel/jest.config.js +3 -0
  43. package/Samples/SimpleMixpanel/metro.config.js +7 -13
  44. package/Samples/SimpleMixpanel/package.json +23 -15
  45. package/Samples/SimpleMixpanel/tsconfig.json +3 -0
  46. package/Samples/SimpleMixpanel/yarn.lock +6814 -0
  47. package/__tests__/jest_setup.js +3 -3
  48. package/android/build.gradle +1 -1
  49. package/docs/Mixpanel.html +1 -1
  50. package/docs/MixpanelGroup.html +1 -1
  51. package/docs/People.html +1 -1
  52. package/docs/index.html +26 -3
  53. package/docs/index.js.html +1 -1
  54. package/index.d.ts +7 -1
  55. package/javascript/mixpanel-main.js +1 -1
  56. package/javascript/mixpanel-persistent.js +0 -2
  57. package/package.json +1 -1
  58. package/Samples/SimpleMixpanel/.buckconfig +0 -6
  59. package/Samples/SimpleMixpanel/.editorconfig +0 -3
  60. package/Samples/SimpleMixpanel/.eslintrc.js +0 -4
  61. package/Samples/SimpleMixpanel/.flowconfig +0 -66
  62. package/Samples/SimpleMixpanel/.gitattributes +0 -3
  63. package/Samples/SimpleMixpanel/.prettierrc.js +0 -7
  64. package/Samples/SimpleMixpanel/.watchmanconfig +0 -1
  65. package/Samples/SimpleMixpanel/android/.project +0 -28
  66. package/Samples/SimpleMixpanel/android/app/BUCK +0 -55
  67. package/Samples/SimpleMixpanel/android/app/build_defs.bzl +0 -19
  68. package/Samples/SimpleMixpanel/android/app/src/debug/java/com/simplemixpanel/ReactNativeFlipper.java +0 -72
  69. package/Samples/SimpleMixpanel/android/app/src/main/java/com/simplemixpanel/MainActivity.java +0 -15
  70. package/Samples/SimpleMixpanel/android/app/src/main/java/com/simplemixpanel/MainApplication.java +0 -80
  71. package/Samples/SimpleMixpanel/ios/File.swift +0 -8
  72. package/Samples/SimpleMixpanel/ios/SimpleMixpanel/AppDelegate.m +0 -62
  73. package/Samples/SimpleMixpanel/ios/SimpleMixpanel-Bridging-Header.h +0 -4
  74. package/Samples/SimpleMixpanel/ios/SimpleMixpanel.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  75. package/logs/.b11bf985d66a037ca5688a574653f3bf76a28dfa-audit.json +0 -29
  76. package/logs/.c366df74eeb671df60a57a2075ae40a3dae2af25-audit.json +0 -29
@@ -1,89 +1,92 @@
1
- @rem
2
- @rem Copyright 2015 the original author or authors.
3
- @rem
4
- @rem Licensed under the Apache License, Version 2.0 (the "License");
5
- @rem you may not use this file except in compliance with the License.
6
- @rem You may obtain a copy of the License at
7
- @rem
8
- @rem https://www.apache.org/licenses/LICENSE-2.0
9
- @rem
10
- @rem Unless required by applicable law or agreed to in writing, software
11
- @rem distributed under the License is distributed on an "AS IS" BASIS,
12
- @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- @rem See the License for the specific language governing permissions and
14
- @rem limitations under the License.
15
- @rem
16
-
17
- @if "%DEBUG%" == "" @echo off
18
- @rem ##########################################################################
19
- @rem
20
- @rem Gradle startup script for Windows
21
- @rem
22
- @rem ##########################################################################
23
-
24
- @rem Set local scope for the variables with windows NT shell
25
- if "%OS%"=="Windows_NT" setlocal
26
-
27
- set DIRNAME=%~dp0
28
- if "%DIRNAME%" == "" set DIRNAME=.
29
- set APP_BASE_NAME=%~n0
30
- set APP_HOME=%DIRNAME%
31
-
32
- @rem Resolve any "." and ".." in APP_HOME to make it shorter.
33
- for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
34
-
35
- @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
36
- set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
37
-
38
- @rem Find java.exe
39
- if defined JAVA_HOME goto findJavaFromJavaHome
40
-
41
- set JAVA_EXE=java.exe
42
- %JAVA_EXE% -version >NUL 2>&1
43
- if "%ERRORLEVEL%" == "0" goto execute
44
-
45
- echo.
46
- echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
47
- echo.
48
- echo Please set the JAVA_HOME variable in your environment to match the
49
- echo location of your Java installation.
50
-
51
- goto fail
52
-
53
- :findJavaFromJavaHome
54
- set JAVA_HOME=%JAVA_HOME:"=%
55
- set JAVA_EXE=%JAVA_HOME%/bin/java.exe
56
-
57
- if exist "%JAVA_EXE%" goto execute
58
-
59
- echo.
60
- echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
61
- echo.
62
- echo Please set the JAVA_HOME variable in your environment to match the
63
- echo location of your Java installation.
64
-
65
- goto fail
66
-
67
- :execute
68
- @rem Setup the command line
69
-
70
- set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
71
-
72
-
73
- @rem Execute Gradle
74
- "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
75
-
76
- :end
77
- @rem End local scope for the variables with windows NT shell
78
- if "%ERRORLEVEL%"=="0" goto mainEnd
79
-
80
- :fail
81
- rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
82
- rem the _cmd.exe /c_ return code!
83
- if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
84
- exit /b 1
85
-
86
- :mainEnd
87
- if "%OS%"=="Windows_NT" endlocal
88
-
89
- :omega
1
+ @rem
2
+ @rem Copyright 2015 the original author or authors.
3
+ @rem
4
+ @rem Licensed under the Apache License, Version 2.0 (the "License");
5
+ @rem you may not use this file except in compliance with the License.
6
+ @rem You may obtain a copy of the License at
7
+ @rem
8
+ @rem https://www.apache.org/licenses/LICENSE-2.0
9
+ @rem
10
+ @rem Unless required by applicable law or agreed to in writing, software
11
+ @rem distributed under the License is distributed on an "AS IS" BASIS,
12
+ @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ @rem See the License for the specific language governing permissions and
14
+ @rem limitations under the License.
15
+ @rem
16
+
17
+ @if "%DEBUG%"=="" @echo off
18
+ @rem ##########################################################################
19
+ @rem
20
+ @rem Gradle startup script for Windows
21
+ @rem
22
+ @rem ##########################################################################
23
+
24
+ @rem Set local scope for the variables with windows NT shell
25
+ if "%OS%"=="Windows_NT" setlocal
26
+
27
+ set DIRNAME=%~dp0
28
+ if "%DIRNAME%"=="" set DIRNAME=.
29
+ @rem This is normally unused
30
+ set APP_BASE_NAME=%~n0
31
+ set APP_HOME=%DIRNAME%
32
+
33
+ @rem Resolve any "." and ".." in APP_HOME to make it shorter.
34
+ for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
35
+
36
+ @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
37
+ set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
38
+
39
+ @rem Find java.exe
40
+ if defined JAVA_HOME goto findJavaFromJavaHome
41
+
42
+ set JAVA_EXE=java.exe
43
+ %JAVA_EXE% -version >NUL 2>&1
44
+ if %ERRORLEVEL% equ 0 goto execute
45
+
46
+ echo. 1>&2
47
+ echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
48
+ echo. 1>&2
49
+ echo Please set the JAVA_HOME variable in your environment to match the 1>&2
50
+ echo location of your Java installation. 1>&2
51
+
52
+ goto fail
53
+
54
+ :findJavaFromJavaHome
55
+ set JAVA_HOME=%JAVA_HOME:"=%
56
+ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
57
+
58
+ if exist "%JAVA_EXE%" goto execute
59
+
60
+ echo. 1>&2
61
+ echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
62
+ echo. 1>&2
63
+ echo Please set the JAVA_HOME variable in your environment to match the 1>&2
64
+ echo location of your Java installation. 1>&2
65
+
66
+ goto fail
67
+
68
+ :execute
69
+ @rem Setup the command line
70
+
71
+ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
72
+
73
+
74
+ @rem Execute Gradle
75
+ "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
76
+
77
+ :end
78
+ @rem End local scope for the variables with windows NT shell
79
+ if %ERRORLEVEL% equ 0 goto mainEnd
80
+
81
+ :fail
82
+ rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83
+ rem the _cmd.exe /c_ return code!
84
+ set EXIT_CODE=%ERRORLEVEL%
85
+ if %EXIT_CODE% equ 0 set EXIT_CODE=1
86
+ if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
87
+ exit /b %EXIT_CODE%
88
+
89
+ :mainEnd
90
+ if "%OS%"=="Windows_NT" endlocal
91
+
92
+ :omega
@@ -1,3 +1,4 @@
1
1
  rootProject.name = 'SimpleMixpanel'
2
2
  apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
3
3
  include ':app'
4
+ includeBuild('../node_modules/@react-native/gradle-plugin')
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "SimpleMixpanel",
3
3
  "displayName": "SimpleMixpanel"
4
- }
4
+ }
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- presets: ['module:metro-react-native-babel-preset'],
2
+ presets: ['module:@react-native/babel-preset'],
3
3
  };
@@ -0,0 +1,11 @@
1
+ # This `.xcode.env` file is versioned and is used to source the environment
2
+ # used when running script phases inside Xcode.
3
+ # To customize your local environment, you can create an `.xcode.env.local`
4
+ # file that is not versioned.
5
+
6
+ # NODE_BINARY variable contains the PATH to the node executable.
7
+ #
8
+ # Customize the NODE_BINARY variable here.
9
+ # For example, to use nvm with brew, add the following line
10
+ # . "$(brew --prefix nvm)/nvm.sh" --no-use
11
+ export NODE_BINARY=$(command -v node)
@@ -1,15 +1,26 @@
1
- require_relative '../node_modules/react-native/scripts/react_native_pods'
2
- require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
1
+ # Resolve react_native_pods.rb with node to allow for hoisting
2
+ require Pod::Executable.execute_command('node', ['-p',
3
+ 'require.resolve(
4
+ "react-native/scripts/react_native_pods.rb",
5
+ {paths: [process.argv[1]]},
6
+ )', __dir__]).strip
3
7
 
4
- platform :ios, '11.0'
8
+ platform :ios, min_ios_version_supported
9
+ prepare_react_native_project!
10
+
11
+ linkage = ENV['USE_FRAMEWORKS']
12
+ if linkage != nil
13
+ Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
14
+ use_frameworks! :linkage => linkage.to_sym
15
+ end
5
16
 
6
17
  target 'SimpleMixpanel' do
7
18
  config = use_native_modules!
8
19
 
9
20
  use_react_native!(
10
21
  :path => config[:reactNativePath],
11
- # to enable hermes on iOS, change `false` to `true` and then install pods
12
- :hermes_enabled => false
22
+ # An absolute path to your application root.
23
+ :app_path => "#{Pod::Config.instance.installation_root}/.."
13
24
  )
14
25
 
15
26
  target 'SimpleMixpanelTests' do
@@ -17,13 +28,13 @@ target 'SimpleMixpanel' do
17
28
  # Pods for testing
18
29
  end
19
30
 
20
- # Enables Flipper.
21
- #
22
- # Note that if you have use_frameworks! enabled, Flipper will not work and
23
- # you should disable the next line.
24
- use_flipper!()
25
-
26
31
  post_install do |installer|
27
- react_native_post_install(installer)
32
+ # https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
33
+ react_native_post_install(
34
+ installer,
35
+ config[:reactNativePath],
36
+ :mac_catalyst_enabled => false,
37
+ # :ccache_enabled => true
38
+ )
28
39
  end
29
- end
40
+ end
@@ -1,8 +1,6 @@
1
- #import <React/RCTBridgeDelegate.h>
1
+ #import <RCTAppDelegate.h>
2
2
  #import <UIKit/UIKit.h>
3
3
 
4
- @interface AppDelegate : UIResponder <UIApplicationDelegate, RCTBridgeDelegate>
5
-
6
- @property (nonatomic, strong) UIWindow *window;
4
+ @interface AppDelegate : RCTAppDelegate
7
5
 
8
6
  @end
@@ -0,0 +1,31 @@
1
+ #import "AppDelegate.h"
2
+
3
+ #import <React/RCTBundleURLProvider.h>
4
+
5
+ @implementation AppDelegate
6
+
7
+ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
8
+ {
9
+ self.moduleName = @"SimpleMixpanel";
10
+ // You can add your custom initial props in the dictionary below.
11
+ // They will be passed down to the ViewController used by React Native.
12
+ self.initialProps = @{};
13
+
14
+ return [super application:application didFinishLaunchingWithOptions:launchOptions];
15
+ }
16
+
17
+ - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
18
+ {
19
+ return [self bundleURL];
20
+ }
21
+
22
+ - (NSURL *)bundleURL
23
+ {
24
+ #if DEBUG
25
+ return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
26
+ #else
27
+ return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
28
+ #endif
29
+ }
30
+
31
+ @end
@@ -2,37 +2,52 @@
2
2
  "images" : [
3
3
  {
4
4
  "idiom" : "iphone",
5
- "size" : "29x29",
6
- "scale" : "2x"
5
+ "scale" : "2x",
6
+ "size" : "20x20"
7
7
  },
8
8
  {
9
9
  "idiom" : "iphone",
10
- "size" : "29x29",
11
- "scale" : "3x"
10
+ "scale" : "3x",
11
+ "size" : "20x20"
12
12
  },
13
13
  {
14
14
  "idiom" : "iphone",
15
- "size" : "40x40",
16
- "scale" : "2x"
15
+ "scale" : "2x",
16
+ "size" : "29x29"
17
17
  },
18
18
  {
19
19
  "idiom" : "iphone",
20
- "size" : "40x40",
21
- "scale" : "3x"
20
+ "scale" : "3x",
21
+ "size" : "29x29"
22
22
  },
23
23
  {
24
24
  "idiom" : "iphone",
25
- "size" : "60x60",
26
- "scale" : "2x"
25
+ "scale" : "2x",
26
+ "size" : "40x40"
27
27
  },
28
28
  {
29
29
  "idiom" : "iphone",
30
- "size" : "60x60",
31
- "scale" : "3x"
30
+ "scale" : "3x",
31
+ "size" : "40x40"
32
+ },
33
+ {
34
+ "idiom" : "iphone",
35
+ "scale" : "2x",
36
+ "size" : "60x60"
37
+ },
38
+ {
39
+ "idiom" : "iphone",
40
+ "scale" : "3x",
41
+ "size" : "60x60"
42
+ },
43
+ {
44
+ "idiom" : "ios-marketing",
45
+ "scale" : "1x",
46
+ "size" : "1024x1024"
32
47
  }
33
48
  ],
34
49
  "info" : {
35
- "version" : 1,
36
- "author" : "xcode"
50
+ "author" : "xcode",
51
+ "version" : 1
37
52
  }
38
- }
53
+ }
@@ -17,23 +17,20 @@
17
17
  <key>CFBundlePackageType</key>
18
18
  <string>APPL</string>
19
19
  <key>CFBundleShortVersionString</key>
20
- <string>1.0</string>
20
+ <string>$(MARKETING_VERSION)</string>
21
21
  <key>CFBundleSignature</key>
22
22
  <string>????</string>
23
23
  <key>CFBundleVersion</key>
24
- <string>1</string>
24
+ <string>$(CURRENT_PROJECT_VERSION)</string>
25
25
  <key>LSRequiresIPhoneOS</key>
26
26
  <true/>
27
27
  <key>NSAppTransportSecurity</key>
28
28
  <dict>
29
- <key>NSExceptionDomains</key>
30
- <dict>
31
- <key>localhost</key>
32
- <dict>
33
- <key>NSExceptionAllowsInsecureHTTPLoads</key>
34
- <true/>
35
- </dict>
36
- </dict>
29
+ <!-- Do not change NSAllowsArbitraryLoads to true, or you will risk app rejection! -->
30
+ <key>NSAllowsArbitraryLoads</key>
31
+ <false/>
32
+ <key>NSAllowsLocalNetworking</key>
33
+ <true/>
37
34
  </dict>
38
35
  <key>NSLocationWhenInUseUsageDescription</key>
39
36
  <string></string>
@@ -41,7 +38,7 @@
41
38
  <string>LaunchScreen</string>
42
39
  <key>UIRequiredDeviceCapabilities</key>
43
40
  <array>
44
- <string>armv7</string>
41
+ <string>arm64</string>
45
42
  </array>
46
43
  <key>UISupportedInterfaceOrientations</key>
47
44
  <array>
@@ -0,0 +1,38 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>NSPrivacyAccessedAPITypes</key>
6
+ <array>
7
+ <dict>
8
+ <key>NSPrivacyAccessedAPIType</key>
9
+ <string>NSPrivacyAccessedAPICategoryUserDefaults</string>
10
+ <key>NSPrivacyAccessedAPITypeReasons</key>
11
+ <array>
12
+ <string>1C8F.1</string>
13
+ <string>CA92.1</string>
14
+ </array>
15
+ </dict>
16
+ <dict>
17
+ <key>NSPrivacyAccessedAPIType</key>
18
+ <string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
19
+ <key>NSPrivacyAccessedAPITypeReasons</key>
20
+ <array>
21
+ <string>C617.1</string>
22
+ </array>
23
+ </dict>
24
+ <dict>
25
+ <key>NSPrivacyAccessedAPIType</key>
26
+ <string>NSPrivacyAccessedAPICategorySystemBootTime</string>
27
+ <key>NSPrivacyAccessedAPITypeReasons</key>
28
+ <array>
29
+ <string>35F9.1</string>
30
+ </array>
31
+ </dict>
32
+ </array>
33
+ <key>NSPrivacyCollectedDataTypes</key>
34
+ <array/>
35
+ <key>NSPrivacyTracking</key>
36
+ <false/>
37
+ </dict>
38
+ </plist>
@@ -2,7 +2,8 @@
2
2
 
3
3
  #import "AppDelegate.h"
4
4
 
5
- int main(int argc, char * argv[]) {
5
+ int main(int argc, char *argv[])
6
+ {
6
7
  @autoreleasepool {
7
8
  return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
8
9
  }