infobip-mobile-messaging-react-native-plugin 5.0.1 → 5.1.0

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/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.7.4
package/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+ # You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
3
+ ruby '2.7.4'
4
+ gem 'cocoapods', '~> 1.11', '>= 1.11.2'
package/Gemfile.lock ADDED
@@ -0,0 +1,96 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ CFPropertyList (3.0.5)
5
+ rexml
6
+ activesupport (6.1.5)
7
+ concurrent-ruby (~> 1.0, >= 1.0.2)
8
+ i18n (>= 1.6, < 2)
9
+ minitest (>= 5.1)
10
+ tzinfo (~> 2.0)
11
+ zeitwerk (~> 2.3)
12
+ addressable (2.8.0)
13
+ public_suffix (>= 2.0.2, < 5.0)
14
+ algoliasearch (1.27.5)
15
+ httpclient (~> 2.8, >= 2.8.3)
16
+ json (>= 1.5.1)
17
+ atomos (0.1.3)
18
+ claide (1.1.0)
19
+ cocoapods (1.11.3)
20
+ addressable (~> 2.8)
21
+ claide (>= 1.0.2, < 2.0)
22
+ cocoapods-core (= 1.11.3)
23
+ cocoapods-deintegrate (>= 1.0.3, < 2.0)
24
+ cocoapods-downloader (>= 1.4.0, < 2.0)
25
+ cocoapods-plugins (>= 1.0.0, < 2.0)
26
+ cocoapods-search (>= 1.0.0, < 2.0)
27
+ cocoapods-trunk (>= 1.4.0, < 2.0)
28
+ cocoapods-try (>= 1.1.0, < 2.0)
29
+ colored2 (~> 3.1)
30
+ escape (~> 0.0.4)
31
+ fourflusher (>= 2.3.0, < 3.0)
32
+ gh_inspector (~> 1.0)
33
+ molinillo (~> 0.8.0)
34
+ nap (~> 1.0)
35
+ ruby-macho (>= 1.0, < 3.0)
36
+ xcodeproj (>= 1.21.0, < 2.0)
37
+ cocoapods-core (1.11.3)
38
+ activesupport (>= 5.0, < 7)
39
+ addressable (~> 2.8)
40
+ algoliasearch (~> 1.0)
41
+ concurrent-ruby (~> 1.1)
42
+ fuzzy_match (~> 2.0.4)
43
+ nap (~> 1.0)
44
+ netrc (~> 0.11)
45
+ public_suffix (~> 4.0)
46
+ typhoeus (~> 1.0)
47
+ cocoapods-deintegrate (1.0.5)
48
+ cocoapods-downloader (1.5.1)
49
+ cocoapods-plugins (1.0.0)
50
+ nap
51
+ cocoapods-search (1.0.1)
52
+ cocoapods-trunk (1.6.0)
53
+ nap (>= 0.8, < 2.0)
54
+ netrc (~> 0.11)
55
+ cocoapods-try (1.2.0)
56
+ colored2 (3.1.2)
57
+ concurrent-ruby (1.1.9)
58
+ escape (0.0.4)
59
+ ethon (0.15.0)
60
+ ffi (>= 1.15.0)
61
+ ffi (1.15.5)
62
+ fourflusher (2.3.1)
63
+ fuzzy_match (2.0.4)
64
+ gh_inspector (1.1.3)
65
+ httpclient (2.8.3)
66
+ i18n (1.10.0)
67
+ concurrent-ruby (~> 1.0)
68
+ json (2.6.1)
69
+ minitest (5.15.0)
70
+ molinillo (0.8.0)
71
+ nanaimo (0.3.0)
72
+ nap (1.1.0)
73
+ netrc (0.11.0)
74
+ public_suffix (4.0.6)
75
+ rexml (3.2.5)
76
+ ruby-macho (2.5.1)
77
+ typhoeus (1.4.0)
78
+ ethon (>= 0.9.0)
79
+ tzinfo (2.0.4)
80
+ concurrent-ruby (~> 1.0)
81
+ xcodeproj (1.21.0)
82
+ CFPropertyList (>= 2.3.3, < 4.0)
83
+ atomos (~> 0.1.3)
84
+ claide (>= 1.0.2, < 2.0)
85
+ colored2 (~> 3.1)
86
+ nanaimo (~> 0.3.0)
87
+ rexml (~> 3.2.4)
88
+ zeitwerk (2.5.4)
89
+ PLATFORMS
90
+ ruby
91
+ DEPENDENCIES
92
+ cocoapods (~> 1.11, >= 1.11.2)
93
+ RUBY VERSION
94
+ ruby 2.7.4p191
95
+ BUNDLED WITH
96
+ 2.2.27
package/README.md CHANGED
@@ -10,17 +10,18 @@ The document describes library integration steps for your React Native project.
10
10
  * [Initialization configuration](#initialization-configuration)
11
11
 
12
12
  ## Requirements
13
- - node (v10.17.0 or higher)
14
- - React Native (v0.66.3)
13
+ - node (v16.10.0 or higher)
14
+ - ruby (2.7.4)
15
+ - React Native (v0.67.4)
15
16
 
16
17
  For iOS project:
17
- - Xcode and Command Line Tools (13.1)
18
- - CocoaPods (v1.10.1)
18
+ - Xcode and Command Line Tools (13.2.1)
19
+ - CocoaPods (v1.11.3)
19
20
  - Minimum deployment target 11.0
20
21
 
21
22
  For Android project:
22
- - Android Studio (v4.0)
23
- - Gradle (v4.2.0)
23
+ - Android Studio (Bumblebee | 2021.1.1)
24
+ - Gradle (v7.2.0)
24
25
  - Minimum API Level: 21 (Android 5.0 - [Lollipop](https://developer.android.com/about/versions/lollipop))
25
26
 
26
27
  ## Quick start guide
@@ -14,8 +14,13 @@ def overrideKotlinVersion = getRootProjectProperty('overrideKotlinVersion', '')
14
14
 
15
15
  if (overrideAndroidSupportLibsVersion.empty || overrideAndroidSupportLibsVersion > "26") {
16
16
  repositories {
17
- mavenLocal()
18
- mavenCentral()
17
+ mavenCentral {
18
+ // We don't want to fetch react-native from Maven Central as there are
19
+ // older versions over there.
20
+ content {
21
+ excludeGroup "com.facebook.react"
22
+ }
23
+ }
19
24
  maven {
20
25
  url 'https://maven.google.com/'
21
26
  name 'Google'
@@ -24,7 +29,7 @@ if (overrideAndroidSupportLibsVersion.empty || overrideAndroidSupportLibsVersion
24
29
  }
25
30
 
26
31
  apply plugin: 'com.android.library'
27
- apply plugin: 'maven'
32
+ apply plugin: 'maven-publish'
28
33
 
29
34
  buildscript {
30
35
  // The Android Gradle plugin is only required when opening the android folder stand-alone.
@@ -34,8 +39,13 @@ buildscript {
34
39
  if (project == rootProject) {
35
40
  repositories {
36
41
  google()
37
- jcenter()
38
- mavenCentral()
42
+ mavenCentral {
43
+ // We don't want to fetch react-native from Maven Central as there are
44
+ // older versions over there.
45
+ content {
46
+ excludeGroup "com.facebook.react"
47
+ }
48
+ }
39
49
  }
40
50
  dependencies {
41
51
  classpath 'com.android.tools.build:gradle:4.2+'
@@ -44,7 +54,7 @@ buildscript {
44
54
  }
45
55
 
46
56
  apply plugin: 'com.android.library'
47
- apply plugin: 'maven'
57
+ apply plugin: 'maven-publish'
48
58
 
49
59
  android {
50
60
  compileSdkVersion getRootProjectProperty('compileSdkVersion', defaultCompileSDKVersion)
@@ -63,8 +73,6 @@ android {
63
73
 
64
74
  repositories {
65
75
  // ref: https://www.baeldung.com/maven-local-repository
66
- mavenLocal()
67
- mavenCentral()
68
76
  maven {
69
77
  // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
70
78
  url "$rootDir/../node_modules/react-native/android"
@@ -73,8 +81,14 @@ repositories {
73
81
  // Android JSC is installed from npm
74
82
  url "$rootDir/../node_modules/jsc-android/dist"
75
83
  }
84
+ mavenCentral {
85
+ // We don't want to fetch react-native from Maven Central as there are
86
+ // older versions over there.
87
+ content {
88
+ excludeGroup "com.facebook.react"
89
+ }
90
+ }
76
91
  google()
77
- jcenter()
78
92
  }
79
93
 
80
94
  dependencies {
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
3
3
  distributionPath=wrapper/dists
4
4
  zipStoreBase=GRADLE_USER_HOME
5
5
  zipStorePath=wrapper/dists
6
- distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
6
+ distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
@@ -19,8 +19,8 @@ Pod::Spec.new do |s|
19
19
  s.requires_arc = true
20
20
 
21
21
  s.dependency "React-Core"
22
- s.dependency "MobileMessaging/Core", "9.2.11"
23
- s.dependency "MobileMessaging/Geofencing", "9.2.11"
24
- s.dependency "MobileMessaging/InAppChat", "9.2.11"
22
+ s.dependency "MobileMessaging/Core", "9.2.16"
23
+ s.dependency "MobileMessaging/Geofencing", "9.2.16"
24
+ s.dependency "MobileMessaging/InAppChat", "9.2.16"
25
25
 
26
26
  end
package/ios/Cartfile CHANGED
@@ -1 +1 @@
1
- github "infobip/mobile-messaging-sdk-ios" "9.2.11"
1
+ github "infobip/mobile-messaging-sdk-ios" "9.2.16"
@@ -1 +1 @@
1
- github "infobip/mobile-messaging-sdk-ios" "9.2.11"
1
+ github "infobip/mobile-messaging-sdk-ios" "9.2.16"
@@ -146,7 +146,7 @@
146
146
  isa = PBXProject;
147
147
  attributes = {
148
148
  LastUpgradeCheck = 0920;
149
- ORGANIZATIONNAME = Facebook;
149
+ ORGANIZATIONNAME = Infobip;
150
150
  TargetAttributes = {
151
151
  58B511DA1A9E6C8500147676 = {
152
152
  CreatedOnToolsVersion = 6.1.1;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "infobip-mobile-messaging-react-native-plugin",
3
3
  "title": "Infobip Mobile Messaging React Native Plugin",
4
- "version": "5.0.1",
4
+ "version": "5.1.0",
5
5
  "description": "Infobip Mobile Messaging React Native Plugin",
6
6
  "main": "index.js",
7
7
  "scripts": {
@@ -34,11 +34,11 @@
34
34
  },
35
35
  "peerDependencies": {
36
36
  "react": "^17.0.2",
37
- "react-native": ">=0.66.3 <1.0.x"
37
+ "react-native": ">=0.67.4 <1.0.x"
38
38
  },
39
39
  "devDependencies": {
40
40
  "metro-react-native-babel-preset": "^0.66.2",
41
41
  "react": "^17.0.2",
42
- "react-native": "^0.66.3"
42
+ "react-native": "^0.67.4"
43
43
  }
44
44
  }
package/.gitattributes DELETED
@@ -1 +0,0 @@
1
- *.pbxproj -text