Skip to content

Commit 23bee4f

Browse files
authored
Merge pull request #129 from xmartlabs/chore/dependencies-update
[Chore] Dependencies update
2 parents 97413c3 + c8f0e60 commit 23bee4f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1367
-7987
lines changed

.all-contributorsrc

+11-28
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
2-
"files": [
3-
"README.md"
4-
],
2+
"files": ["README.md"],
53
"imageSize": 100,
64
"commit": false,
75
"contributors": [
@@ -10,58 +8,43 @@
108
"name": "Emiliano Botti",
119
"avatar_url": "https://avatars0.githubusercontent.com/u/20881388?v=4",
1210
"profile": "https://github.com/eb16",
13-
"contributions": [
14-
"code"
15-
]
11+
"contributions": ["code"]
1612
},
1713
{
18-
"login": "Joaguirrem",
19-
"name": "Joaquín Aguirre",
14+
"login": "joaguirrem",
15+
"name": "Joaquin Aguirre",
2016
"avatar_url": "https://avatars2.githubusercontent.com/u/17858453?v=4",
21-
"profile": "https://github.com/Joaguirrem",
22-
"contributions": [
23-
"code"
24-
]
17+
"profile": "https://github.com/joaguirrem",
18+
"contributions": ["code"]
2519
},
2620
{
2721
"login": "nicoache1",
2822
"name": "Nicolas Hernandez",
2923
"avatar_url": "https://avatars0.githubusercontent.com/u/26419582?v=4",
3024
"profile": "https://github.com/nicoache1",
31-
"contributions": [
32-
"code",
33-
"review"
34-
]
25+
"contributions": ["code", "review"]
3526
},
3627
{
3728
"login": "santiagofm",
3829
"name": "Santiago Fernández",
3930
"avatar_url": "https://avatars0.githubusercontent.com/u/6749415?v=4",
4031
"profile": "https://github.com/santiagofm",
41-
"contributions": [
42-
"code",
43-
"projectManagement",
44-
"review"
45-
]
32+
"contributions": ["code", "projectManagement", "review"]
4633
},
4734
{
4835
"login": "matir91",
4936
"name": "Matías Irland",
5037
"avatar_url": "https://avatars2.githubusercontent.com/u/8472881?v=4",
5138
"profile": "https://github.com/matir91",
52-
"contributions": [
53-
"review"
54-
]
39+
"contributions": ["review"]
5540
},
5641
{
5742
"login": "MarcoF09",
5843
"name": "Marco Fiorito",
5944
"avatar_url": "https://avatars.githubusercontent.com/MarcoF09",
6045
"profile": "https://github.com/MarcoF09",
61-
"contributions": [
62-
"code",
63-
]
64-
},
46+
"contributions": ["code"]
47+
}
6548
],
6649
"contributorsPerLine": 7,
6750
"projectName": "react-native-line",

.eslintrc

-25
This file was deleted.

.gitignore

+3-3
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ buck-out/
7272
# Ruby / CocoaPods
7373
**/Pods/
7474
/vendor/bundle/
75-
75+
7676
# Temporary files created by Metro to check the health of the file watcher
7777
.metro-health-check*
78-
78+
7979
# testing
8080
/coverage
81-
81+
8282
# Yarn
8383
.yarn/*
8484
!.yarn/patches

.npmignore

-19
This file was deleted.

.npmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
registry=https://registry.yarnpkg.com
1+
registry=https://registry.yarnpkg.com

.prettierignore

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1-
package.json
2-
ios
1+
android
2+
ios
3+
node_modules
4+
5+
README.md
6+
yarn.lock

.prettierrc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"arrowParens": "avoid",
3+
"bracketSameLine": true,
4+
"bracketSpacing": true,
5+
"semi": false,
6+
"singleQuote": true
7+
}

.prettierrc.js

-8
This file was deleted.

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ source 'https://rubygems.org'
44
ruby ">= 2.6.10"
55

66
# Exclude problematic versions of cocoapods and activesupport that causes build failures.
7-
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
87
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
8+
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
99
gem 'xcodeproj', '< 1.26.0'

RNLine.podspec

+16-10
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,25 @@ require 'json'
33
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
44

55
Pod::Spec.new do |s|
6-
s.name = 'RNLine'
7-
s.version = package['version']
8-
s.summary = package['description']
9-
s.license = package['license']
6+
s.name = 'RNLine'
7+
s.version = package['version']
8+
s.summary = package['description']
9+
s.license = package['license']
1010

11-
s.authors = package['author']
12-
s.homepage = package['homepage']
13-
s.platform = :ios, "11.0"
14-
s.swift_version = '5.0'
11+
s.authors = package['author']
12+
s.homepage = package['homepage']
13+
s.platform = :ios, "15.1"
14+
s.swift_version = '5.4'
1515

16-
s.source = { :git => "" }
16+
s.source = { :git => package["repository"]["url"] }
1717
s.source_files = "ios/**/*.{h,m,swift}"
1818

19-
s.dependency 'React-Core'
19+
# Swift/Objective-C compatibility
20+
s.pod_target_xcconfig = {
21+
'DEFINES_MODULE' => 'YES',
22+
'SWIFT_COMPILATION_MODE' => 'wholemodule'
23+
}
24+
2025
s.dependency 'LineSDKSwift', '~> 5.8.1'
26+
s.dependency 'React-Core'
2127
end

__tests__/App-test.tsx

-14
This file was deleted.

android/build.gradle

+12-32
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,38 @@
11
buildscript {
2-
//Buildscript is evaluated before everything else so we can't use getExtOrDefault
3-
ext {
4-
kotlinVersion = '1.9.24'
5-
ndkVersion = "26.1.10909125"
6-
}
2+
def kotlin_version = rootProject.ext.has("kotlinVersion") ? rootProject.ext.get("kotlinVersion") : "1.9.24"
3+
74
repositories {
85
google()
96
mavenCentral()
107
}
118

129
dependencies {
1310
classpath "com.android.tools.build:gradle"
14-
//noinspection DifferentKotlinGradleVersion
15-
classpath("com.facebook.react:react-native-gradle-plugin")
16-
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
11+
classpath "com.facebook.react:react-native-gradle-plugin"
12+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1713
}
1814
}
1915

20-
repositories {
21-
google()
22-
mavenCentral()
16+
def safeExtGet(prop, fallback) {
17+
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
2318
}
2419

2520
apply plugin: "com.android.library"
2621
apply plugin: "kotlin-android"
27-
apply plugin: "com.facebook.react.rootproject"
28-
29-
def safeExtGet(prop, fallback) {
30-
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
31-
}
3222

3323
android {
34-
compileSdkVersion safeExtGet("compileSdkVersion", 31)
24+
compileSdkVersion safeExtGet("compileSdkVersion", 35)
3525

3626
defaultConfig {
37-
minSdkVersion safeExtGet('minSdkVersion', 21)
38-
targetSdkVersion safeExtGet('targetSdkVersion', 28)
27+
minSdkVersion safeExtGet("minSdkVersion", 24)
28+
targetSdkVersion safeExtGet("targetSdkVersion", 35)
3929
versionCode 1
40-
versionName "1.0"
41-
}
42-
43-
// Include "lib/" as sources, unfortunetely react-native link can't handle
44-
// setting up alternative gradle modules. We still have "lib" defined as a
45-
// standalone gradle module just to be used in AndroidNativeExample
46-
sourceSets {
47-
main.java.srcDirs += 'lib/src/main/java'
30+
versionName "2.2.1"
4831
}
4932
}
5033

5134
dependencies {
52-
//noinspection GradleDynamicVersion from node modules
5335
implementation "com.facebook.react:react-native:+"
54-
implementation "com.linecorp.linesdk:linesdk:5.8.0"
55-
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion"
56-
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.0.1"
57-
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.0.1"
36+
implementation "com.linecorp.linesdk:linesdk:5.8.1"
37+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3"
5838
}

android/gradle.properties

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
android.useAndroidX=true
2-
3-
hermesEnabled=true
2+
hermesEnabled=true

android/src/debug/AndroidManifest.xml

-8
This file was deleted.

android/src/main/AndroidManifest.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.xmartlabs.rnline">
3-
</manifest>
2+
package="com.xmartlabs.rnline"></manifest>

0 commit comments

Comments
 (0)