Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.

Commit 03e9475

Browse files
committed
chore: 2.2.0
1 parent edc9855 commit 03e9475

113 files changed

Lines changed: 20975 additions & 22382 deletions

File tree

Some content is hidden

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

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
*.pbxproj -text
22
# specific for windows script files
3-
*.bat text eol=crlf
3+
*.bat text eol=crlf

.gitignore

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ DerivedData
2828
*.ipa
2929
*.xcuserstate
3030
project.xcworkspace
31+
**/.xcode.env.local
3132

3233
# Android/IJ
3334
#
@@ -44,6 +45,9 @@ android.iml
4445
#
4546
example/ios/Pods
4647

48+
# Ruby
49+
example/vendor/
50+
4751
# node.js
4852
#
4953
node_modules/
@@ -57,8 +61,26 @@ buck-out/
5761
android/app/libs
5862
android/keystores/debug.keystore
5963

64+
# Yarn
65+
.yarn/*
66+
!.yarn/patches
67+
!.yarn/plugins
68+
!.yarn/releases
69+
!.yarn/sdks
70+
!.yarn/versions
71+
6072
# Expo
61-
.expo/*
73+
.expo/
74+
75+
# Turborepo
76+
.turbo/
6277

6378
# generated by bob
6479
lib/
80+
81+
# React Native Codegen
82+
ios/generated
83+
android/generated
84+
85+
# React Native Nitro Modules
86+
nitrogen/

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v22.20.0

.watchmanconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Lines changed: 541 additions & 0 deletions
Large diffs are not rendered by default.

.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Lines changed: 28 additions & 0 deletions
Large diffs are not rendered by default.

.yarn/releases/yarn-3.6.1.cjs

Lines changed: 874 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
nodeLinker: node-modules
2+
3+
nmHoistingLimits: workspaces
4+
5+
plugins:
6+
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
7+
spec: "@yarnpkg/plugin-interactive-tools"
8+
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
9+
spec: "@yarnpkg/plugin-workspace-tools"
10+
11+
yarnPath: .yarn/releases/yarn-3.6.1.cjs

README.md

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,40 @@ A react-native module to integrate Screeb mobile sdk for Android and/or iOS.
1717

1818
[See here.](https://www.notion.so/screeb/ReactNative-SDK-30e8dc27fa7a4dea979084d83e5140c3)
1919

20-
## Run example
20+
## Run examples
21+
22+
### React Native CLI example
2123

2224
```sh
23-
npm install
25+
yarn install
2426

2527
cd example/
26-
npm install
28+
yarn install
2729

2830
cd ios/
2931
pod install
32+
cd ..
3033

31-
npm run android
32-
npm run ios
34+
yarn android
35+
yarn ios
3336
```
3437

38+
### Expo example
39+
40+
The Expo project lives in `example-expo`. It builds a full native binary (Expo Go will not load custom native modules).
41+
42+
```sh
43+
yarn install
44+
45+
yarn workspace example-expo prebuild
46+
yarn workspace example-expo ios # or android
47+
48+
# in another terminal, from the repo root
49+
yarn example:expo
50+
```
51+
52+
Re-run `prebuild` whenever native configuration changes (for example after toggling the new architecture). Use `yarn workspace example-expo prebuild --clean` if you need to fully regenerate the iOS/Android projects. The `example-expo/react-native.config.js` file ensures the Screeb module is autolinked automatically.
53+
3554
## License
3655

3756
MIT
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,20 @@ require "json"
33
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
44

55
Pod::Spec.new do |s|
6-
s.name = "screeb-module"
6+
s.name = "ScreebReactNative"
77
s.version = package["version"]
88
s.summary = package["description"]
99
s.homepage = package["homepage"]
1010
s.license = package["license"]
1111
s.authors = package["author"]
1212

13-
s.platforms = { :ios => "11.0" }
13+
s.platforms = { :ios => "12.0" }
1414
s.source = { :git => "https://github.com/ScreebApp/sdk-reactnative.git", :tag => "#{s.version}" }
1515

16-
s.source_files = "ios/**/*.{h,m,mm,swift}"
16+
s.source_files = "ios/**/*.{h,m,mm,cpp,swift}"
17+
s.private_header_files = "ios/**/*.h"
1718

19+
s.dependency "Screeb", '~> 2.2.0'
1820
s.dependency "React-Core"
19-
s.dependency "Screeb", '~> 2.1.14'
21+
install_modules_dependencies(s)
2022
end

0 commit comments

Comments
 (0)