@amplytools/react-native-amply-sdk 0.2.12 → 0.2.13

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amplytools/react-native-amply-sdk",
3
- "version": "0.2.12",
3
+ "version": "0.2.13",
4
4
  "description": "React Native SDK for Amply: Mobile SDK to orchestrate in-app experiences and campaigns remotely, without app releases",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -17,7 +17,17 @@ module.exports = {
17
17
  packageInstance: 'new AmplyPackage()',
18
18
  cmakeListsPath: 'src/main/jni/CMakeLists.txt',
19
19
  },
20
- ios: null,
20
+ // iOS is intentionally OMITTED here, NOT set to null.
21
+ // RN CLI / expo-modules-autolinking auto-discovers the iOS pod via a
22
+ // top-level *.podspec at the package root (AmplyReactNative.podspec).
23
+ // Setting `ios: null` would explicitly opt OUT of iOS autolinking —
24
+ // pre-0.2.13 we did exactly that and survived only because
25
+ // `expo-module.config.json` pulled the pod through Expo autolinking;
26
+ // when we dropped that file in 0.2.12 the iOS pod stopped being linked
27
+ // (the 0.2.12 iOS regression).
28
+ // Setting `ios: { podspecPath: ... }` does NOT work either:
29
+ // expo-modules-autolinking's iosResolver ignores podspecPath and only
30
+ // scans the package root for *.podspec.
21
31
  },
22
32
  },
23
33
  commands: [],
@@ -1,32 +0,0 @@
1
- Pod::Spec.new do |s|
2
- s.name = 'AmplyReactNative'
3
- s.version = '0.1.0'
4
- s.summary = 'React Native bridge for Amply SDK'
5
- s.homepage = 'https://github.com/amply-tools/amply-react-native'
6
- s.license = { :type => 'MIT' }
7
- s.authors = { 'Amply' => 'opensource@amply.tools' }
8
- s.source = { :git => 'https://github.com/amply-tools/amply-react-native.git', :tag => s.version.to_s }
9
-
10
- s.platforms = { :ios => '15.1' }
11
- s.source_files = 'Sources/**/*.{swift,h,m,mm}'
12
-
13
- # React Native dependencies for TurboModules
14
- s.dependency 'React-Core'
15
- s.dependency 'ReactCommon/turbomodule/core'
16
- s.dependency 'React-RCTFabric'
17
-
18
- # Amply KMP SDK from CocoaPods
19
- s.dependency 'AmplySDK', '~> 0.2.6'
20
-
21
- s.libraries = 'c++'
22
- s.pod_target_xcconfig = {
23
- 'CLANG_CXX_LANGUAGE_STANDARD' => 'c++17',
24
- 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES',
25
- 'DEFINES_MODULE' => 'YES',
26
- }
27
-
28
- # Enable modules for importing the AmplySDK framework
29
- s.user_target_xcconfig = {
30
- 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES',
31
- }
32
- end