Skip to content

Commit 5271fa7

Browse files
authored
Merge pull request #10 from TransmitSecurity/release/1.0.2
release/1.0.2 --> master
2 parents 3d74144 + 8ae1688 commit 5271fa7

12 files changed

Lines changed: 827 additions & 704 deletions

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ For more, see [BindID Admin Portal: Get Started](https://developer.bindid.io/doc
4242

4343

4444
#### Android Setup:
45-
Please follow the [Android Redirection setup](https://developer.bindid.io/docs/guides/quickstart/topics/quickstart_android#step-4-set-up-redirection) to support deeplink in your app.
45+
Please follow The [Android Integration setup](https://developer.bindid.io/docs/guides/quickstart/topics/quickstart_android#step-2-add-sdk-to-your-project) and [Android Redirection setup](https://developer.bindid.io/docs/guides/quickstart/topics/quickstart_android#step-4-set-up-redirection) to support deeplink in your app.
4646

4747
-----------
4848

@@ -209,3 +209,16 @@ Transmit Security, https://github.com/TransmitSecurity
209209

210210
This project is licensed under the MIT license. See the LICENSE file for more info.
211211

212+
## Troubleshooting
213+
214+
#### M1 arch chip
215+
216+
1. If you have an issue running the example project on the M1 arch chip, There is a workaround solution from Apple, [Apple Rosetta](https://support.apple.com/en-us/HT211861) that enables a Mac with Apple silicon to use apps built for a Mac with an Intel processor.
217+
218+
2. There is another solution by excluding arm64 for the simulator architecture, both from your project and the Pod project. [Stackoverflow](https://stackoverflow.com/a/63955114).
219+
220+
221+
#### Android compile issues
222+
223+
If you have an issue running the example project on Android, May you should change in the example app `package.json` file the **Expo** version to `44.0.6` and the **react-native** version to `0.68.2`.
224+

bindid-react-native.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ require "json"
33
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
44

55
Pod::Spec.new do |s|
6-
s.name = package["name"]
6+
s.name = package["podname"]
77
s.version = package["version"]
88
s.summary = package["description"]
99
s.homepage = package["homepage"]

docs/release-notes.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ Template
1111
#### EXPECTED MIGRATION CHANGES
1212
--->
1313

14+
## 1.0.2 - August 2022
15+
### Content
16+
#### Bug Fixes
17+
1. Fixed an issue where the current package.json name is not a valid name for a pod.
18+
1419
## 1.0.1 - August 2022
1520
### Content
1621
### Upgrade

example/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Open `example/src/env.ts` and setup your ClientID and Redirect URI
3232
#### Android Setup:
3333
1. Open `example/android` in Android studio.
3434
2. Open `BindidReactNativeExample/app/src/main/res/values/strings.xml`.
35-
3. Change `bid_scheme` and `bid_host` according to your `RedirectURI`.
35+
3. Change `bid_scheme` and `bid_host` according to your `RedirectURI`. Note: `bid_scheme` must be lowercase
3636

3737
Based on the `rnbindidexample://login` example, `bid_scheme` should be `rnbindidexample` and `bid_host` should be `login`
3838

example/babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
{
1010
extensions: ['.tsx', '.ts', '.js', '.json'],
1111
alias: {
12-
[pak.name]: path.join(__dirname, '..', pak.source),
12+
[pak.podname]: path.join(__dirname, '..', pak.source),
1313
},
1414
},
1515
],

example/ios/Podfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,12 @@ target 'BindIdAppExample' do
3636
react_native_post_install(installer)
3737
__apply_Xcode_12_5_M1_post_install_workaround(installer)
3838
installer.pods_project.targets.each do |target|
39-
if target.name == "bindid-react-native"
39+
#if target.name == "bindid-react-native"
4040
target.build_configurations.each do |config|
4141
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
42+
config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = "arm64"
4243
end
43-
end
44+
#end
4445
end
4546
end
4647

example/ios/Podfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- bindid-react-native (1.0.1):
2+
- bindid-react-native (1.0.2):
33
- React-Core
44
- XmBindIdSDK (~> 1.30.0)
55
- boost (1.76.0)
@@ -516,7 +516,7 @@ EXTERNAL SOURCES:
516516
:path: "../node_modules/react-native/ReactCommon/yoga"
517517

518518
SPEC CHECKSUMS:
519-
bindid-react-native: 9d380e2758e0f8c5befa992fe556bf6fa2bb7b75
519+
bindid-react-native: 903dbb76948e63798fe2102ad2ee5257dd422608
520520
boost: a7c83b31436843459a1961bfd74b96033dc77234
521521
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
522522
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
@@ -568,6 +568,6 @@ SPEC CHECKSUMS:
568568
Yoga: ff994563b2fd98c982ca58e8cd9db2cdaf4dda74
569569
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
570570

571-
PODFILE CHECKSUM: 4834fe7f175cf6f4ef69f10061e36d8a0a6ba455
571+
PODFILE CHECKSUM: 2afbee34aa701dd2f89f67316b91249dc6b498fa
572572

573573
COCOAPODS: 1.10.1

0 commit comments

Comments
 (0)