I’d love to see some work put in to making this work with React Native. I spent a day trying to get this to work a few weeks ago with no joy, and I couldn’t find any indication that anyone else had managed to make it work either.
My particular use-case is that I'm not a Swift/Objective-C developer, I'm a JavaScript developer.
React Native opened the door to allow me to build apps and, realistically, I'm not going to spend the time battling through trying to get native git working through React Native. If there's a native developer out there that wants to tackle this problem and wrap it up in a nice JS module then I'd be in your debt!
Depends what users, if you're targeting some education format or institution that wants some locking down of their OS git native is kind of a non starter. No one can configure it for you, there's 65 million install options and you're loading a bash shell into windows.
Very different from "this app has packaged tutorials and tools just start at lesson 1"
This would seem like a workaround but it's possible to run node.js on Android and iOS and bundle it with your react native app so that might be a potential way forward: https://code.janeasystems.com/nodejs-mobile/
akdor1154|6 years ago
Sorry, I know this comes off as a bit dickish, but I'm interested to know the circumstances that lead to this point of view :)
joshfarrant|6 years ago
React Native opened the door to allow me to build apps and, realistically, I'm not going to spend the time battling through trying to get native git working through React Native. If there's a native developer out there that wants to tackle this problem and wrap it up in a nice JS module then I'd be in your debt!
yatsyk|6 years ago
The other option could be compiling libgit2 to native code/wasm and use it in RN and web, but it will be harder then just import js-only npm.
Already__Taken|6 years ago
Very different from "this app has packaged tutorials and tools just start at lesson 1"
yatsyk|6 years ago
[1] https://github.com/isomorphic-git/isomorphic-git/issues/698
edit: fix link
tomashubelbauer|6 years ago
worldsayshi|6 years ago