Skip to content

Commit 7c49db9

Browse files
committed
refactor: next level session and add manual linking through pod
1 parent 7882bef commit 7c49db9

File tree

6 files changed

+700
-13
lines changed

6 files changed

+700
-13
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ react-native link react-native-compressor
129129

130130
#### iOS
131131

132-
1. In XCode, in the project navigator, right click `Libraries``Add Files to [your project's name]`
133-
2. Go to `node_modules``react-native-compressor` and add `Compressor.xcodeproj`
134-
3. In XCode, in the project navigator, select your project. Add `libCompressor.a` to your project's `Build Phases``Link Binary With Libraries`
132+
1. In XCode, open Podfile
133+
2. paste this line `pod 'react-native-compressor', :path => '../node_modules/react-native-compressor'` into `Podfile`
134+
3. run this command inside ios folder `pod install`
135135
4. Run your project (`Cmd+R`)<
136136

137137
#### Android

android/src/main/java/com/reactnativecompressor/Utils/createVideoThumbnail.kt

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import android.net.Uri
88
import android.os.Build
99
import android.text.TextUtils
1010
import android.webkit.URLUtil
11-
import androidx.annotation.RequiresApi
1211
import com.facebook.react.bridge.Arguments
1312
import com.facebook.react.bridge.GuardedResultAsyncTask
1413
import com.facebook.react.bridge.Promise

example/ios/Podfile.lock

+3-7
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ PODS:
88
- hermes-engine/Pre-built (= 0.72.4)
99
- hermes-engine/Pre-built (0.72.4)
1010
- libevent (2.1.12)
11-
- NextLevelSessionExporter (0.4.6)
1211
- RCT-Folly (2021.07.22.00):
1312
- boost
1413
- DoubleConversion
@@ -881,9 +880,8 @@ PODS:
881880
- React-Codegen
882881
- React-RCTFabric
883882
- ReactCommon/turbomodule/core
884-
- react-native-compressor (1.8.15):
883+
- react-native-compressor (1.8.16):
885884
- hermes-engine
886-
- NextLevelSessionExporter
887885
- RCT-Folly (= 2021.07.22.00)
888886
- RCTRequired
889887
- RCTTypeSafety
@@ -1241,7 +1239,6 @@ SPEC REPOS:
12411239
trunk:
12421240
- fmt
12431241
- libevent
1244-
- NextLevelSessionExporter
12451242
- SocketRocket
12461243

12471244
EXTERNAL SOURCES:
@@ -1361,7 +1358,6 @@ SPEC CHECKSUMS:
13611358
glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b
13621359
hermes-engine: 81191603c4eaa01f5e4ae5737a9efcf64756c7b2
13631360
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
1364-
NextLevelSessionExporter: 4d8aa5e617f1c709724f2453efe5d4628480f65a
13651361
RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1
13661362
RCTRequired: 28469809442eb4eb5528462705f7d852948c8a74
13671363
RCTTypeSafety: e9c6c409fca2cc584e5b086862d562540cb38d29
@@ -1381,7 +1377,7 @@ SPEC CHECKSUMS:
13811377
React-jsinspector: 194e32c6aab382d88713ad3dd0025c5f5c4ee072
13821378
React-logger: cebf22b6cf43434e471dc561e5911b40ac01d289
13831379
react-native-cameraroll: 5d9523136a929b58f092fd7f0a9a13367a4b46e3
1384-
react-native-compressor: fb94a06841de42572dfbefe5f7e26a89f47161dd
1380+
react-native-compressor: 3ad769f5bac56d7337df076a1c62e74292f7136d
13851381
react-native-document-picker: c9ac93d7b511413f4a0ed61c92ff6c7b1bcf4f94
13861382
react-native-get-random-values: dee677497c6a740b71e5612e8dbd83e7539ed5bb
13871383
react-native-image-picker: 9b4b1d0096500050cbdabf8f4fd00b771065d983
@@ -1412,6 +1408,6 @@ SPEC CHECKSUMS:
14121408
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
14131409
Yoga: b76f1acfda8212aa16b7e26bcce3983230c82603
14141410

1415-
PODFILE CHECKSUM: 686c342866175d212f040c963197ac4ae3a0d39e
1411+
PODFILE CHECKSUM: 6921e9d639a4280c7f39f24a8456ad90b32c9c67
14161412

14171413
COCOAPODS: 1.13.0

0 commit comments

Comments
 (0)