react-native-acoustic-connect-beta 16.0.5 → 16.0.7

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 (63) hide show
  1. package/Example/nativebase-v3-kitchensink/android/app/build.gradle +102 -81
  2. package/Example/nativebase-v3-kitchensink/android/app/src/debug/AndroidManifest.xml +1 -2
  3. package/Example/nativebase-v3-kitchensink/android/app/src/debug/java/com/geekyants/kitchensinkappnativebase/ReactNativeFlipper.java +10 -4
  4. package/Example/nativebase-v3-kitchensink/android/app/src/main/AndroidManifest.xml +3 -3
  5. package/Example/nativebase-v3-kitchensink/android/app/src/main/java/com/geekyants/kitchensinkappnativebase/MainActivity.java +14 -12
  6. package/Example/nativebase-v3-kitchensink/android/app/src/main/java/com/geekyants/kitchensinkappnativebase/MainApplication.java +41 -55
  7. package/Example/nativebase-v3-kitchensink/android/app/src/main/java/com/geekyants/kitchensinkappnativebase/generated/BasePackageList.java +21 -0
  8. package/Example/nativebase-v3-kitchensink/android/build.gradle +15 -25
  9. package/Example/nativebase-v3-kitchensink/android/gradle.properties +20 -3
  10. package/Example/nativebase-v3-kitchensink/android/settings.gradle +1 -1
  11. package/Example/nativebase-v3-kitchensink/babel.config.js +7 -1
  12. package/Example/nativebase-v3-kitchensink/ios/.xcode.env +11 -0
  13. package/Example/nativebase-v3-kitchensink/ios/KitchenSinkappnativebase/AppDelegate.h +2 -3
  14. package/Example/nativebase-v3-kitchensink/ios/KitchenSinkappnativebase/AppDelegate.m +10 -69
  15. package/Example/nativebase-v3-kitchensink/ios/KitchenSinkappnativebase/Images.xcassets/AppIcon.appiconset/Contents.json +7 -116
  16. package/Example/nativebase-v3-kitchensink/ios/KitchenSinkappnativebase/Info.plist +4 -0
  17. package/Example/nativebase-v3-kitchensink/ios/KitchenSinkappnativebase.xcodeproj/project.pbxproj +47 -37
  18. package/Example/nativebase-v3-kitchensink/ios/Podfile +105 -53
  19. package/Example/nativebase-v3-kitchensink/ios/Podfile.properties.json +2 -1
  20. package/Example/nativebase-v3-kitchensink/ios/build/XCBuildData/a6b76eb483287825e3d8acec0a94d196.xcbuilddata/build-request.json +27 -0
  21. package/Example/nativebase-v3-kitchensink/ios/build/XCBuildData/a6b76eb483287825e3d8acec0a94d196.xcbuilddata/description.msgpack +0 -0
  22. package/Example/nativebase-v3-kitchensink/ios/build/XCBuildData/a6b76eb483287825e3d8acec0a94d196.xcbuilddata/manifest.json +1 -0
  23. package/Example/nativebase-v3-kitchensink/ios/build/XCBuildData/a6b76eb483287825e3d8acec0a94d196.xcbuilddata/target-graph.txt +1 -0
  24. package/Example/nativebase-v3-kitchensink/ios/build/XCBuildData/a6b76eb483287825e3d8acec0a94d196.xcbuilddata/task-store.msgpack +0 -0
  25. package/Example/nativebase-v3-kitchensink/ios/build/XCBuildData/c0fec93a979a5e37e3134ca391db148a.xcbuilddata/build-request.json +27 -0
  26. package/Example/nativebase-v3-kitchensink/ios/build/XCBuildData/c0fec93a979a5e37e3134ca391db148a.xcbuilddata/description.msgpack +0 -0
  27. package/Example/nativebase-v3-kitchensink/ios/build/XCBuildData/c0fec93a979a5e37e3134ca391db148a.xcbuilddata/manifest.json +1 -0
  28. package/Example/nativebase-v3-kitchensink/ios/build/XCBuildData/c0fec93a979a5e37e3134ca391db148a.xcbuilddata/target-graph.txt +1 -0
  29. package/Example/nativebase-v3-kitchensink/ios/build/XCBuildData/c0fec93a979a5e37e3134ca391db148a.xcbuilddata/task-store.msgpack +0 -0
  30. package/Example/nativebase-v3-kitchensink/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec-generated.mm +2008 -0
  31. package/Example/nativebase-v3-kitchensink/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec.h +2448 -0
  32. package/Example/nativebase-v3-kitchensink/ios/build/generated/ios/FBReactNativeSpecJSI-generated.cpp +1523 -0
  33. package/Example/nativebase-v3-kitchensink/ios/build/generated/ios/FBReactNativeSpecJSI.h +5509 -0
  34. package/Example/nativebase-v3-kitchensink/ios/build/generated/ios/React-Codegen.podspec.json +1 -0
  35. package/Example/nativebase-v3-kitchensink/metro.config.js +12 -14
  36. package/Example/nativebase-v3-kitchensink/package.json +21 -18
  37. package/Example/nativebase-v3-kitchensink/src/components/RootComponent.tsx +3 -3
  38. package/Example/nativebase-v3-kitchensink/src/nb/NativeBase/src/core/NativeBaseProvider.tsx +2 -2
  39. package/GroovyUtils/psgrep.sh +1 -0
  40. package/Jenkinsfile +27 -25
  41. package/android/config.gradle +4 -4
  42. package/android/src/main/assets/ConnectAdvancedConfig.json +3 -0
  43. package/android/src/main/assets/TealeafBasicConfig.properties +26 -68
  44. package/android/src/main/assets/TealeafLayoutConfig.json +1 -26
  45. package/android/src/main/java/com/tl/uic/rncxa/RNCxaModule.java +127 -100
  46. package/android/src/main/java/com/tl/uic/rncxa/RNCxaPackage.java +7 -3
  47. package/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec-generated.mm +0 -0
  48. package/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec.h +0 -0
  49. package/ios/build/generated/ios/React-Codegen.podspec.json +1 -0
  50. package/latestChanges +0 -1
  51. package/package.json +1 -1
  52. package/Example/nativebase-v3-kitchensink/android/app/BUCK +0 -55
  53. package/Example/nativebase-v3-kitchensink/android/app/build_defs.bzl +0 -19
  54. package/Example/nativebase-v3-kitchensink/ios/KitchenSinkappnativebase/noop-file.swift +0 -4
  55. package/Example/nativebase-v3-kitchensink/iosSDKDebug/KitchenSinkappnativebase.xcodeproj/project.pbxproj +0 -543
  56. package/Example/nativebase-v3-kitchensink/iosSDKDebug/KitchenSinkappnativebase.xcodeproj/xcshareddata/xcschemes/KitchenSinkappnativebase.xcscheme +0 -100
  57. package/Example/nativebase-v3-kitchensink/iosSDKDebug/KitchenSinkappnativebase.xcworkspace/contents.xcworkspacedata +0 -13
  58. package/Example/nativebase-v3-kitchensink/iosSDKDebug/KitchenSinkappnativebaseDebugSDK.xcworkspace/contents.xcworkspacedata +0 -10
  59. package/Example/nativebase-v3-kitchensink/iosSDKDebug/KitchenSinkappnativebaseDebugSDK.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  60. package/Example/nativebase-v3-kitchensink/iosSDKDebug/Podfile +0 -51
  61. package/Example/nativebase-v3-kitchensink/node/.expo/README.md +0 -17
  62. package/Example/nativebase-v3-kitchensink/node/.expo/settings.json +0 -8
  63. package/Example/nativebase-v3-kitchensink/yarn.lock +0 -13679
@@ -1,60 +1,112 @@
1
1
  require File.join(File.dirname(`node --print "require.resolve('expo/package.json')"`), "scripts/autolinking")
2
2
  require File.join(File.dirname(`node --print "require.resolve('react-native/package.json')"`), "scripts/react_native_pods")
3
- require File.join(File.dirname(`node --print "require.resolve('@react-native-community/cli-platform-ios/package.json')"`), "native_modules")
4
-
5
- platform :ios, '13.0'
6
3
 
7
4
  require 'json'
8
- podfile_properties = JSON.parse(File.read('./Podfile.properties.json')) rescue {}
5
+ podfile_properties = JSON.parse(File.read(File.join(__dir__, 'Podfile.properties.json'))) rescue {}
6
+
7
+ ENV['RCT_NEW_ARCH_ENABLED'] = podfile_properties['newArchEnabled'] == 'true' ? '1' : '0'
8
+ ENV['EX_DEV_CLIENT_NETWORK_INSPECTOR'] = podfile_properties['EX_DEV_CLIENT_NETWORK_INSPECTOR']
9
+
10
+ platform :ios, podfile_properties['ios.deploymentTarget'] || '13.0'
11
+ install! 'cocoapods',
12
+ :deterministic_uuids => false
13
+
14
+ prepare_react_native_project!
15
+
16
+ # If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.
17
+ # because `react-native-flipper` depends on (FlipperKit,...), which will be excluded. To fix this,
18
+ # you can also exclude `react-native-flipper` in `react-native.config.js`
19
+ #
20
+ # ```js
21
+ # module.exports = {
22
+ # dependencies: {
23
+ # ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
24
+ # }
25
+ # }
26
+ # ```
27
+ flipper_config = FlipperConfiguration.disabled
28
+ # if ENV['NO_FLIPPER'] == '1' then
29
+ # # Explicitly disabled through environment variables
30
+ # flipper_config = FlipperConfiguration.disabled
31
+ # elsif podfile_properties.key?('ios.flipper') then
32
+ # # Configure Flipper in Podfile.properties.json
33
+ # if podfile_properties['ios.flipper'] == 'true' then
34
+ # flipper_config = FlipperConfiguration.enabled(["Debug", "Release"])
35
+ # elsif podfile_properties['ios.flipper'] != 'false' then
36
+ # flipper_config = FlipperConfiguration.enabled(["Debug", "Release"], { 'Flipper' => podfile_properties['ios.flipper'] })
37
+ # end
38
+ # end
9
39
 
10
40
  target 'KitchenSinkappnativebase' do
11
- use_expo_modules!
12
- config = use_native_modules!
13
-
14
- use_react_native!(
15
- :path => config[:reactNativePath],
16
- :hermes_enabled => podfile_properties['expo.jsEngine'] == 'hermes'
17
- )
18
-
19
- # Uncomment the code below to enable Flipper.
20
- #
21
- # You should not install Flipper in CI environments when creating release
22
- # builds, this will lead to significantly slower build times.
23
- #
24
- # Note that if you have use_frameworks! enabled, Flipper will not work.
25
- #
26
- # use_flipper!
27
- # post_install do |installer|
28
- # flipper_post_install(installer)
29
- # end
30
-
31
- post_install do |installer|
32
- `sed -i -e $'s/__IPHONE_10_0/__IPHONE_12_0/' Pods/RCT-Folly/folly/portability/Time.h`
33
- `sed -i -e $'s/typedef uint8_t clockid_t;/\\/\\/typedef uint8_t clockid_t;/' Pods/RCT-Folly/folly/portability/Time.h`
34
- react_native_post_install(installer)
35
-
36
- installer.pods_project.targets.each do |target|
37
- puts "Target: #{target.name}"
38
- target.build_configurations.each do |config|
39
- config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
40
- config.build_settings["ONLY_ACTIVE_ARCH"] = "YES"
41
- end
42
- if (target.name&.eql?('FBReactNativeSpec'))
43
- target.build_phases.each do |build_phase|
44
- if (build_phase.respond_to?(:name) && build_phase.name.eql?('[CP-User] Generate Specs'))
45
- target.build_phases.move(build_phase, 0)
46
- end
47
- end
48
- end
49
- if (target.name&.eql?('RNReanimated'))
50
- target.build_configurations.each do |config|
51
- config.build_settings["CLANG_CXX_LANGUAGE_STANDARD"] = "c++17"
52
- end
53
- end
54
- end
55
-
56
- installer.pods_project.build_configurations.each do |config|
57
- config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
58
- end
59
- end
41
+ use_expo_modules!
42
+ config = use_native_modules!
43
+
44
+ use_frameworks! :linkage => podfile_properties['ios.useFrameworks'].to_sym if podfile_properties['ios.useFrameworks']
45
+ use_frameworks! :linkage => ENV['USE_FRAMEWORKS'].to_sym if ENV['USE_FRAMEWORKS']
46
+
47
+ # Flags change depending on the env values.
48
+ flags = get_default_flags()
49
+
50
+ use_react_native!(
51
+ :path => config[:reactNativePath],
52
+ :hermes_enabled => podfile_properties['expo.jsEngine'] == nil || podfile_properties['expo.jsEngine'] == 'hermes',
53
+ :fabric_enabled => flags[:fabric_enabled],
54
+ # An absolute path to your application root.
55
+ :app_path => "#{Pod::Config.instance.installation_root}/..",
56
+ # Note that if you have use_frameworks! enabled, Flipper will not work if enabled
57
+ :flipper_configuration => flipper_config
58
+ )
59
+
60
+ post_install do |installer|
61
+ react_native_post_install(
62
+ installer,
63
+ config[:reactNativePath],
64
+ :mac_catalyst_enabled => false
65
+ )
66
+ __apply_Xcode_12_5_M1_post_install_workaround(installer)
67
+
68
+ # This is necessary for Xcode 14, because it signs resource bundles by default
69
+ # when building for devices.
70
+ installer.target_installation_results.pod_target_installation_results
71
+ .each do |pod_name, target_installation_result|
72
+ target_installation_result.resource_bundle_targets.each do |resource_bundle_target|
73
+ resource_bundle_target.build_configurations.each do |config|
74
+ config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
75
+ end
76
+ end
77
+ end
78
+
79
+ installer.pods_project.targets.each do |target|
80
+ puts "Target: #{target.name}"
81
+ target.build_configurations.each do |config|
82
+ config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
83
+ config.build_settings["ONLY_ACTIVE_ARCH"] = "YES"
84
+ end
85
+ if (target.name&.eql?('FBReactNativeSpec'))
86
+ target.build_phases.each do |build_phase|
87
+ if (build_phase.respond_to?(:name) && build_phase.name.eql?('[CP-User] Generate Specs'))
88
+ target.build_phases.move(build_phase, 0)
89
+ end
90
+ end
91
+ end
92
+ if (target.name&.eql?('RNReanimated'))
93
+ target.build_configurations.each do |config|
94
+ config.build_settings["CLANG_CXX_LANGUAGE_STANDARD"] = "c++17"
95
+ end
96
+ end
97
+ end
98
+
99
+ installer.pods_project.build_configurations.each do |config|
100
+ config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
101
+ end
102
+
103
+ end
104
+
105
+ post_integrate do |installer|
106
+ begin
107
+ expo_patch_react_imports!(installer)
108
+ rescue => e
109
+ Pod::UI.warn e
110
+ end
111
+ end
60
112
  end
@@ -1,3 +1,4 @@
1
1
  {
2
- "expo.jsEngine": "jsc"
2
+ "expo.jsEngine": "hermes",
3
+ "EX_DEV_CLIENT_NETWORK_INSPECTOR": "true"
3
4
  }
@@ -0,0 +1,27 @@
1
+ {
2
+ "buildCommand" : {
3
+ "command" : "build",
4
+ "skipDependencies" : false,
5
+ "style" : "buildOnly"
6
+ },
7
+ "configuredTargets" : [
8
+
9
+ ],
10
+ "continueBuildingAfterErrors" : false,
11
+ "dependencyScope" : "workspace",
12
+ "enableIndexBuildArena" : false,
13
+ "hideShellScriptEnvironment" : false,
14
+ "parameters" : {
15
+ "action" : "build",
16
+ "overrides" : {
17
+
18
+ }
19
+ },
20
+ "qos" : "utility",
21
+ "schemeCommand" : "launch",
22
+ "showNonLoggedProgress" : true,
23
+ "useDryRun" : false,
24
+ "useImplicitDependencies" : false,
25
+ "useLegacyBuildLocations" : false,
26
+ "useParallelTargets" : true
27
+ }
@@ -0,0 +1 @@
1
+ {"client":{"name":"basic","version":0,"file-system":"device-agnostic","perform-ownership-analysis":"no"},"targets":{"":["<all>"]},"commands":{"<all>":{"tool":"phony","inputs":["<WorkspaceHeaderMapVFSFilesWritten>"],"outputs":["<all>"]},"P0:::Gate WorkspaceHeaderMapVFSFilesWritten":{"tool":"phony","inputs":[],"outputs":["<WorkspaceHeaderMapVFSFilesWritten>"]}}}
@@ -0,0 +1,27 @@
1
+ {
2
+ "buildCommand" : {
3
+ "command" : "build",
4
+ "skipDependencies" : false,
5
+ "style" : "buildOnly"
6
+ },
7
+ "configuredTargets" : [
8
+
9
+ ],
10
+ "continueBuildingAfterErrors" : false,
11
+ "dependencyScope" : "workspace",
12
+ "enableIndexBuildArena" : false,
13
+ "hideShellScriptEnvironment" : false,
14
+ "parameters" : {
15
+ "action" : "build",
16
+ "overrides" : {
17
+
18
+ }
19
+ },
20
+ "qos" : "utility",
21
+ "schemeCommand" : "launch",
22
+ "showNonLoggedProgress" : true,
23
+ "useDryRun" : false,
24
+ "useImplicitDependencies" : false,
25
+ "useLegacyBuildLocations" : false,
26
+ "useParallelTargets" : true
27
+ }
@@ -0,0 +1 @@
1
+ {"client":{"name":"basic","version":0,"file-system":"device-agnostic","perform-ownership-analysis":"no"},"targets":{"":["<all>"]},"commands":{"<all>":{"tool":"phony","inputs":["<WorkspaceHeaderMapVFSFilesWritten>"],"outputs":["<all>"]},"P0:::Gate WorkspaceHeaderMapVFSFilesWritten":{"tool":"phony","inputs":[],"outputs":["<WorkspaceHeaderMapVFSFilesWritten>"]}}}