Integration with ReactNative #214
Replies: 31 comments
-
|
Just copy the file to the right place https://github.com/krzyzanowskim/ObjectivePGP/tree/master/scripts Looks like something went wrong with the automatic script installation. Will address that in next release. |
Beta Was this translation helpful? Give feedback.
-
|
Can I replace this step using cocoa pods? I try to use cocoa pods, but receive this error: |
Beta Was this translation helpful? Give feedback.
-
|
Cocoapods should work. |
Beta Was this translation helpful? Give feedback.
-
|
Okey, thanks! The example is here: https://github.com/danielfeelfine/react-native-pgp-example |
Beta Was this translation helpful? Give feedback.
-
|
It should build at all ? |
Beta Was this translation helpful? Give feedback.
-
|
No. It's an another React Native error. You can solve this with: In the Terminal, navigate to the Reference: facebook/react-native#14382 |
Beta Was this translation helpful? Give feedback.
-
|
what about this: |
Beta Was this translation helpful? Give feedback.
-
|
Select a developer team in General settings of project, ex.: |
Beta Was this translation helpful? Give feedback.
-
|
that's not that. Info.plist is not at the location the script think it is. |
Beta Was this translation helpful? Give feedback.
-
|
It's about the first error or about this latest error? In the latest error, you must be select a team and solve the problem. |
Beta Was this translation helpful? Give feedback.
-
|
it's that facebook/react-native#10102 basically this call override derived data path, to non-existing |
Beta Was this translation helpful? Give feedback.
-
|
Were you able to compile successfully? |
Beta Was this translation helpful? Give feedback.
-
|
ok, figured out. Needed to edit |
Beta Was this translation helpful? Give feedback.
-
|
The problem is |
Beta Was this translation helpful? Give feedback.
-
|
yes, I used the project you created, fixed react-native and build. Here is the full archive: |
Beta Was this translation helpful? Give feedback.
-
|
I had to patch |
Beta Was this translation helpful? Give feedback.
-
|
Your project is different from my. My code use ObjectivePGP and your, not. So it worked (I think). Try installing ObjectivePGP and adding the files: ReactNativePGP.m ReactNativePGP.h |
Beta Was this translation helpful? Give feedback.
-
|
those files are not part of the Xcode project, how should it work? The cocoapods installed the ObjectivePGP.framework though. |
Beta Was this translation helpful? Give feedback.
-
|
How can I add to my XCode project? You'd better start a fresh react-native (it's fast) project and try to adding ObjectivePGP in it. And so you could reproduce the problem. |
Beta Was this translation helpful? Give feedback.
-
drag file to xcode and add to target
I rather not, it doesn't look like the toolchain is working out of the box. |
Beta Was this translation helpful? Give feedback.
-
|
anyway, the cocoapods setup works with ObjectivePGP, here is the current version of the project I build: |
Beta Was this translation helpful? Give feedback.
-
|
When try to run your fork, I take the same error (commented in https://github.com/krzyzanowskim/ObjectivePGP/issues/70#issuecomment-326370907): |
Beta Was this translation helpful? Give feedback.
-
|
What's your Xcode version? |
Beta Was this translation helpful? Give feedback.
-
|
Version 8.3.3 (8E3004b) too. |
Beta Was this translation helpful? Give feedback.
-
|
¯_(ツ)_/¯ I'm running with this command: |
Beta Was this translation helpful? Give feedback.
-
|
Thanks! I Now I will try to expose the ObjetivePGP methods using iOS Native Modules from react-native, but first, I have some questions:
|
Beta Was this translation helpful? Give feedback.
-
not today. This feature will be available with next update. It's currently WIP.
If I understand the question right, you just sign with password https://github.com/krzyzanowskim/ObjectivePGP#sign-data-or-file |
Beta Was this translation helpful? Give feedback.
-
|
Do you know if there is any module that generates keys in iOS? Would it be a difficult task to do one or implement this method? I'm thinking of using: https://github.com/kryptco/kryptonite-ios. What do you think? Thanks |
Beta Was this translation helpful? Give feedback.
-
|
as I said, key generation is in progress ETA in 2 weeks. I'm rather not going to verify the kryptonite compliance. |
Beta Was this translation helpful? Give feedback.
-
|
Great @krzyzanowskim. I will wait for the implementation. In the meantime, I'll be working on the RN wrapper of signature methods. Thanks |
Beta Was this translation helpful? Give feedback.





Uh oh!
There was an error while loading. Please reload this page.
-
.../Frameworks/ObjectivePGP.framework/strip-frameworks.sh: No such file or directoryHow I solve this?
Beta Was this translation helpful? Give feedback.
All reactions