rn-erxes-sdk 0.5.1 → 0.5.2

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.
@@ -1,7 +1,7 @@
1
1
  # Native iOS Guide
2
2
 
3
3
  `ErxesNativeIOS` bridges the native SwiftUI erxes messenger
4
- ([`erxes/erxes-ios-sdk`](https://github.com/erxes/erxes-ios-sdk) `0.30.7`)
4
+ ([`erxes/erxes-ios-sdk`](https://github.com/erxes/erxes-ios-sdk) `0.30.14`)
5
5
  into your React Native app.
6
6
 
7
7
  > **Most apps should use the `<ErxesMessenger />` component instead** — it wraps
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rn-erxes-sdk",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "react-native erxes sdk",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -2,21 +2,6 @@ require 'json'
2
2
 
3
3
  package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4
4
 
5
- begin
6
- react_native_pods = Pod::Executable.execute_command(
7
- 'node',
8
- [
9
- '-p',
10
- 'require.resolve("react-native/scripts/react_native_pods.rb", {paths: [process.argv[1]]})',
11
- __dir__
12
- ]
13
- ).strip
14
- require react_native_pods
15
- rescue StandardError
16
- # React Native Podfiles normally load react_native_pods.rb before evaluating
17
- # package podspecs. This fallback keeps podspec parsing useful in isolation.
18
- end
19
-
20
5
  Pod::Spec.new do |s|
21
6
  s.name = 'rn-erxes-sdk'
22
7
  s.version = package['version']
@@ -31,15 +16,5 @@ Pod::Spec.new do |s|
31
16
  s.swift_version = '5.9'
32
17
 
33
18
  s.dependency 'React-Core'
34
-
35
- if defined?(spm_dependency)
36
- spm_dependency(
37
- s,
38
- url: 'https://github.com/erxes/erxes-ios-sdk.git',
39
- requirement: { :kind => 'exactVersion', :version => '0.30.13' },
40
- products: ['MessengerSDK']
41
- )
42
- else
43
- raise 'rn-erxes-sdk requires React Native 0.81+ CocoaPods SPM support to install MessengerSDK 0.30.13'
44
- end
19
+ s.dependency 'ErxesMessengerSDK', '0.30.14'
45
20
  end