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

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 (38) hide show
  1. package/Example/nativebase-v3-kitchensink/android/app/build.gradle +103 -82
  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/build.gradle +14 -24
  8. package/Example/nativebase-v3-kitchensink/android/gradle.properties +20 -3
  9. package/Example/nativebase-v3-kitchensink/android/settings.gradle +4 -1
  10. package/Example/nativebase-v3-kitchensink/babel.config.js +7 -1
  11. package/Example/nativebase-v3-kitchensink/ios/.xcode.env +11 -0
  12. package/Example/nativebase-v3-kitchensink/ios/KitchenSinkappnativebase/AppDelegate.h +2 -3
  13. package/Example/nativebase-v3-kitchensink/ios/KitchenSinkappnativebase/AppDelegate.m +10 -69
  14. package/Example/nativebase-v3-kitchensink/ios/KitchenSinkappnativebase/Images.xcassets/AppIcon.appiconset/Contents.json +7 -116
  15. package/Example/nativebase-v3-kitchensink/ios/KitchenSinkappnativebase/Info.plist +4 -0
  16. package/Example/nativebase-v3-kitchensink/ios/KitchenSinkappnativebase.xcodeproj/project.pbxproj +47 -37
  17. package/Example/nativebase-v3-kitchensink/ios/Podfile +105 -53
  18. package/Example/nativebase-v3-kitchensink/ios/Podfile.properties.json +2 -1
  19. package/Example/nativebase-v3-kitchensink/metro.config.js +12 -14
  20. package/Example/nativebase-v3-kitchensink/package.json +21 -18
  21. package/Example/nativebase-v3-kitchensink/src/components/RootComponent.tsx +3 -3
  22. package/Example/nativebase-v3-kitchensink/src/nb/NativeBase/src/core/NativeBaseProvider.tsx +2 -2
  23. package/GroovyUtils/psgrep.sh +1 -0
  24. package/Jenkinsfile +27 -25
  25. package/android/build.gradle +1 -1
  26. package/package.json +1 -1
  27. package/Example/nativebase-v3-kitchensink/android/app/BUCK +0 -55
  28. package/Example/nativebase-v3-kitchensink/android/app/build_defs.bzl +0 -19
  29. package/Example/nativebase-v3-kitchensink/ios/KitchenSinkappnativebase/noop-file.swift +0 -4
  30. package/Example/nativebase-v3-kitchensink/iosSDKDebug/KitchenSinkappnativebase.xcodeproj/project.pbxproj +0 -543
  31. package/Example/nativebase-v3-kitchensink/iosSDKDebug/KitchenSinkappnativebase.xcodeproj/xcshareddata/xcschemes/KitchenSinkappnativebase.xcscheme +0 -100
  32. package/Example/nativebase-v3-kitchensink/iosSDKDebug/KitchenSinkappnativebase.xcworkspace/contents.xcworkspacedata +0 -13
  33. package/Example/nativebase-v3-kitchensink/iosSDKDebug/KitchenSinkappnativebaseDebugSDK.xcworkspace/contents.xcworkspacedata +0 -10
  34. package/Example/nativebase-v3-kitchensink/iosSDKDebug/KitchenSinkappnativebaseDebugSDK.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  35. package/Example/nativebase-v3-kitchensink/iosSDKDebug/Podfile +0 -51
  36. package/Example/nativebase-v3-kitchensink/node/.expo/README.md +0 -17
  37. package/Example/nativebase-v3-kitchensink/node/.expo/settings.json +0 -8
  38. 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
  }
@@ -1,14 +1,12 @@
1
- module.exports = {
2
- transformer: {
3
- assetPlugins: ['expo-asset/tools/hashAssetFiles'],
4
- getTransformOptions: async () => ({
5
- transform: {
6
- experimentalImportSupport: false,
7
- inlineRequires: true,
8
- },
9
- }),
10
- },
11
- resolver: {
12
- //disableHierarchicalLookup: true,
13
- },
14
- };
1
+ const { getDefaultConfig } = require('expo/metro-config');
2
+ const { mergeConfig } = require('@react-native/metro-config');
3
+
4
+ /**
5
+ * Metro configuration
6
+ * https://facebook.github.io/metro/docs/configuration
7
+ *
8
+ * @type {import('metro-config').MetroConfig}
9
+ */
10
+ const config = {};
11
+
12
+ module.exports = mergeConfig(getDefaultConfig(__dirname), config);
@@ -4,25 +4,26 @@
4
4
  "@react-native-community/masked-view": "0.1.10",
5
5
  "@react-navigation/native": "^5.9.4",
6
6
  "@react-navigation/stack": "^5.14.5",
7
- "expo": "~47.0.14",
8
- "expo-keep-awake": "~11.0.1",
9
- "expo-linear-gradient": "~12.0.1",
10
- "expo-modules-core": "~1.0.4 || ~1.1.1",
11
- "expo-splash-screen": "~0.17.5",
12
- "expo-status-bar": "~1.4.2",
7
+ "expo": "~49.0.23",
8
+ "expo-keep-awake": "~12.3.0",
9
+ "expo-linear-gradient": "~12.3.0",
10
+ "expo-modules-core": "~1.5.12",
11
+ "expo-splash-screen": "~0.20.5",
12
+ "expo-status-bar": "~1.6.0",
13
13
  "fs-extra": "^10.0.0",
14
14
  "native-base": "3.4.0-rc.12",
15
15
  "react": "18.2.0",
16
- "react-dom": "18.1.0",
17
- "react-native": "0.72.6",
18
- "react-native-acoustic-connect-beta": "16.0.5",
19
- "react-native-gesture-handler": "~2.8.0",
16
+ "react-dom": "18.2.0",
17
+ "react-native": "0.72.10",
18
+ "react-native-acoustic-connect-beta": "16.0.6",
19
+ "react-native-gesture-handler": "~2.12.0",
20
20
  "react-native-keyboard-aware-scroll-view": "^0.9.5",
21
- "react-native-reanimated": "~2.17.0",
22
- "react-native-safe-area-context": "4.4.1",
23
- "react-native-screens": "~3.18.0",
24
- "react-native-svg": "13.4.0",
25
- "react-native-web": "~0.18.9",
21
+ "react-native-reanimated": "~3.3.0",
22
+ "react-native-safe-area-context": "4.6.3",
23
+ "react-native-screens": "~3.22.0",
24
+ "react-native-svg": "13.9.0",
25
+ "react-native-svg-transformer": "1.1.0",
26
+ "react-native-web": "~0.19.6",
26
27
  "shelljs": "^0.8.5",
27
28
  "styled-components": "^5.3.0",
28
29
  "styled-system": "^5.1.5"
@@ -31,19 +32,21 @@
31
32
  "@babel/core": "^7.20.0",
32
33
  "@babel/preset-env": "^7.20.0",
33
34
  "@babel/runtime": "^7.20.0",
35
+ "@react-native-community/cli": "^15.1.0",
34
36
  "@react-native/eslint-config": "^0.72.2",
37
+ "@react-native/js-polyfills": "^0.76.1",
35
38
  "@react-native/metro-config": "^0.72.11",
36
39
  "@tsconfig/react-native": "^3.0.0",
37
- "@types/react": "^18.0.24",
40
+ "@types/react": "~18.2.14",
38
41
  "@types/react-native": "~0.63.2",
39
42
  "@types/react-test-renderer": "^18.0.0",
40
43
  "babel-jest": "^29.2.1",
41
44
  "eslint": "^8.19.0",
42
45
  "jest": "^29.2.1",
43
- "jest-expo": "^41.0.0",
46
+ "jest-expo": "~49.0.0",
44
47
  "metro-react-native-babel-preset": "0.76.8",
45
48
  "prettier": "^2.4.1",
46
- "typescript": "4.8.4"
49
+ "typescript": "^5.1.3"
47
50
  },
48
51
  "jest": {
49
52
  "preset": "jest-expo"
@@ -2,7 +2,7 @@ import React, { Component } from 'react';
2
2
  import { NavigationContainer } from '@react-navigation/native';
3
3
  import { Box, useColorModeValue, useToken } from 'native-base';
4
4
  import { RootStack } from '../../src/navigators/rootNavigator';
5
- import { Connect, ConnectProfiler } from 'react-native-acoustic-connect-beta';
5
+ // import { Connect, ConnectProfiler } from 'react-native-acoustic-connect-beta';
6
6
  import { useRef } from 'react';
7
7
 
8
8
  export const Root = () => {
@@ -14,7 +14,7 @@ export const Root = () => {
14
14
  );
15
15
  const bgColor = useColorModeValue(lightBg, darkBg);
16
16
  return (
17
- <Connect>
17
+ // <Connect>
18
18
  <NavigationContainer
19
19
  ref={navigationRef}
20
20
  theme={{
@@ -37,6 +37,6 @@ export const Root = () => {
37
37
  <RootStack />
38
38
  </Box>
39
39
  </NavigationContainer>
40
- </Connect>
40
+ // </Connect>
41
41
  );
42
42
  };
@@ -4,7 +4,7 @@ import {
4
4
  Metrics,
5
5
  initialWindowMetrics as defaultInitialWindowMetrics,
6
6
  } from 'react-native-safe-area-context';
7
- import { SSRProvider } from '@react-native-aria/utils';
7
+ // import { SSRProvider } from '@react-native-aria/utils';
8
8
  import { theme as defaultTheme, ITheme } from './../theme';
9
9
  import type { IColorModeProviderProps } from './color-mode';
10
10
  import HybridProvider from './hybrid-overlay/HybridProvider';
@@ -94,7 +94,7 @@ const NativeBaseProvider = (props: NativeBaseProviderProps) => {
94
94
  <OverlayProvider>
95
95
  <ToastProvider>
96
96
  <InitializeToastRef />
97
- <SSRProvider>{children}</SSRProvider>
97
+ {/* <SSRProvider>{children}</SSRProvider> */}
98
98
  </ToastProvider>
99
99
  </OverlayProvider>
100
100
  </HybridProvider>
@@ -0,0 +1 @@
1
+ adb shell ps | grep $1 || [ $? -eq 1 ]
package/Jenkinsfile CHANGED
@@ -31,7 +31,7 @@ pipeline {
31
31
  setupGlobals("${env.GIT_BRANCH}")
32
32
  if (genBuild) {
33
33
  checkoutRepos()
34
- // setupEmulator("RN_30")
34
+ setupEmulator("A_34_RN")
35
35
  }
36
36
  }
37
37
  }
@@ -46,18 +46,18 @@ pipeline {
46
46
  // }
47
47
  // }
48
48
  // Issue starting simulator
49
- // stage('Build iOS - yarn ios') {
50
- // when { anyOf { branch 'feature/*'; branch 'develop'; branch 'master' } }
51
- // steps {
52
- // echo 'Building..'
53
- // script{
54
- // echo "run using react native"
55
- // runCMD("cd ${testAppDir} && yarn")
56
- // runCMD("cd ${testAppDir} && yarn ios")
57
- // killIosSim()
58
- // }
59
- // }
60
- // }
49
+ stage('Build iOS - yarn ios') {
50
+ when { anyOf { branch 'feature/*'; branch 'develop'; branch 'master' } }
51
+ steps {
52
+ echo 'Building..'
53
+ script{
54
+ echo "run using react native"
55
+ runCMD("cd ${testAppDir} && yarn")
56
+ runCMD("cd ${testAppDir} && yarn ios")
57
+ runCMD("killall node")
58
+ }
59
+ }
60
+ }
61
61
  // stage('Build Android - gradle') {
62
62
  // when { anyOf { branch 'feature/*'; branch 'develop'; branch 'master' } }
63
63
  // steps {
@@ -68,17 +68,19 @@ pipeline {
68
68
  // // }
69
69
  // }
70
70
  // }
71
- // stage('Build Android - react native cmd') {
72
- // when { anyOf { branch 'feature/*'; branch 'develop'; branch 'master' } }
73
- // steps {
74
- // echo 'Building..'
75
- // script{
76
- // checkEmulatorReady()
77
- // echo "run using react native"
78
- // runCMD("cd ${testAppDir} && react-native run-android")
79
- // }
80
- // }
81
- // }
71
+ stage('Build Android - react native cmd') {
72
+ when { anyOf { branch 'feature/*'; branch 'develop'; branch 'master' } }
73
+ steps {
74
+ echo 'Building..'
75
+ script{
76
+ checkEmulatorReady()
77
+ echo "run using react native"
78
+ runCMD("cd ${testAppDir} && yarn")
79
+ runCMD("cd ${testAppDir} && yarn android")
80
+ runCMD("killall node")
81
+ }
82
+ }
83
+ }
82
84
  stage('Test') {
83
85
  when { anyOf { branch 'feature/*'; branch 'develop'; branch 'master' } }
84
86
  steps {
@@ -362,7 +364,7 @@ def checkEmulatorReady() {
362
364
  }
363
365
 
364
366
  counter = 0
365
- while (!sh(script: "sh AndroidAutoSrc/GroovyUtils/psgrep.sh testapp", returnStdout: true).trim().isEmpty()) {
367
+ while (!sh(script: "sh GroovyUtils/psgrep.sh testapp", returnStdout: true).trim().isEmpty()) {
366
368
  if (counter == 0) {
367
369
  echo "Waiting for previous tests to finish..."
368
370
  }
@@ -14,7 +14,7 @@ buildscript {
14
14
  }
15
15
 
16
16
  android {
17
- compileSdkVersion 33
17
+ compileSdkVersion 31
18
18
  buildToolsVersion '32.0.0'
19
19
 
20
20
  defaultConfig {
package/package.json CHANGED
@@ -38,5 +38,5 @@
38
38
  "verifyConnectSetup": "node scripts/verifyConnectSetup.js $INIT_CWD"
39
39
  },
40
40
  "summary": "react-native ios android tealeaf connect cxa wxca er enhanced-replay",
41
- "version": "16.0.5"
41
+ "version": "16.0.6"
42
42
  }
@@ -1,55 +0,0 @@
1
- # To learn about Buck see [Docs](https://buckbuild.com/).
2
- # To run your application with Buck:
3
- # - install Buck
4
- # - `npm start` - to start the packager
5
- # - `cd android`
6
- # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"`
7
- # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck
8
- # - `buck install -r android/app` - compile, install and run application
9
- #
10
-
11
- load(":build_defs.bzl", "create_aar_targets", "create_jar_targets")
12
-
13
- lib_deps = []
14
-
15
- create_aar_targets(glob(["libs/*.aar"]))
16
-
17
- create_jar_targets(glob(["libs/*.jar"]))
18
-
19
- android_library(
20
- name = "all-libs",
21
- exported_deps = lib_deps,
22
- )
23
-
24
- android_library(
25
- name = "app-code",
26
- srcs = glob([
27
- "src/main/java/**/*.java",
28
- ]),
29
- deps = [
30
- ":all-libs",
31
- ":build_config",
32
- ":res",
33
- ],
34
- )
35
-
36
- android_build_config(
37
- name = "build_config",
38
- package = "com.geekyants.kitchensinkappnativebase",
39
- )
40
-
41
- android_resource(
42
- name = "res",
43
- package = "com.geekyants.kitchensinkappnativebase",
44
- res = "src/main/res",
45
- )
46
-
47
- android_binary(
48
- name = "app",
49
- keystore = "//android/keystores:debug",
50
- manifest = "src/main/AndroidManifest.xml",
51
- package_type = "debug",
52
- deps = [
53
- ":app-code",
54
- ],
55
- )
@@ -1,19 +0,0 @@
1
- """Helper definitions to glob .aar and .jar targets"""
2
-
3
- def create_aar_targets(aarfiles):
4
- for aarfile in aarfiles:
5
- name = "aars__" + aarfile[aarfile.rindex("/") + 1:aarfile.rindex(".aar")]
6
- lib_deps.append(":" + name)
7
- android_prebuilt_aar(
8
- name = name,
9
- aar = aarfile,
10
- )
11
-
12
- def create_jar_targets(jarfiles):
13
- for jarfile in jarfiles:
14
- name = "jars__" + jarfile[jarfile.rindex("/") + 1:jarfile.rindex(".jar")]
15
- lib_deps.append(":" + name)
16
- prebuilt_jar(
17
- name = name,
18
- binary_jar = jarfile,
19
- )
@@ -1,4 +0,0 @@
1
- //
2
- // @generated
3
- // A blank Swift file must be created for native modules with Swift files to work correctly.
4
- //