hyperledger-archives / indy-sdk-react-native

React Native wrapper around Indy SDK Java and Objective-C wrappers.
Apache License 2.0
22 stars 14 forks source link

feat: improve ios installation #54

Closed niall-shaw closed 2 years ago

niall-shaw commented 2 years ago

use podspec dependency to fetch indy

TimoGlastra commented 2 years ago

Now that I think of it this is a breaking change as people that don't have the source defined wont know the indy dependency. Will need to release this as 0.3.0

TimoGlastra commented 2 years ago

Also, is there a way to do custom installation still? Not sure if everyone is happy to rely on a s3 service from Absa

JamesKEbert commented 2 years ago

Nice! This is significantly easier IMO

+1 to a 0.3.0 release.

Also, is there a way to do custom installation still? Not sure if everyone is happy to rely on a s3 service from Absa

Might be smart if possible to make this an option still

JamesKEbert commented 2 years ago

Some small install notes:

(a note for the aries.js.org docs, we probably should note that Hermes is required)

jakubkoci commented 2 years ago

@TimoGlastra

Also, is there a way to do custom installation still? Not sure if everyone is happy to rely on a s3 service from Absa

You can create your own Spec file and just replace path to your Spec repo here:

source 'https://github.com/AbsaOSS/dlt-cocoapods-specs.git'
jakubkoci commented 2 years ago

@JamesKEbert

(a note for the aries.js.org docs, we probably should note that Hermes is required)

This scares me because we don't run Hermes 😱 What do you mean by that? Why is it required? 🤔

JamesKEbert commented 2 years ago

This scares me because we don't run Hermes 😱 What do you mean by that? Why is it required? 🤔

@jakubkoci as per our findings https://github.com/hyperledger/indy-sdk/issues/2346#issuecomment-841000640 we've found that in order to run indy-sdk on Android successfully on a React Native version higher than 0.61.5 you must have Hermes enabled (or more specifically be able to perform any ledger operations using indy-sdk). This doesn't apply to iOS, but we've also used it there so that we're consistent between the two platforms.

It's possible newer versions of RN have addressed this (especially given the TurboModules changes), however I mostly doubt it unfortunately.

JamesKEbert commented 2 years ago

Also, is there a way to do custom installation still? Not sure if everyone is happy to rely on a s3 service from Absa

You can create your own Spec file and just replace path to your Spec repo here:

source 'https://github.com/AbsaOSS/dlt-cocoapods-specs.git'

Is it worth placing/managing this in a Hyperledger repo?

JamesKEbert commented 2 years ago

@TimoGlastra, would you like me to make a PR to update the install instructions to include the Bitcode, etc?