-
Notifications
You must be signed in to change notification settings - Fork 13
v1 Implementation Discussion #2
Comments
+1
-1. Well have to maintain Swift <-> ObjC bindings. We could probably use Sourcery for this, but that’s even more added complexity. Depending on version targeted, the swift library may need to be embedded potentially increasing binary size. There is also the issue of Swift differing between versions. Tho we do have ABI stability now. |
+1
I'm also in favor of ObjectiveC for one reason - I know it works with unimodules. That way, this module will also work in Expo (see unimodules in expo's google sign in) and we'll avoid the situation when two libraries doing the same thing are maintained - which is now the case with the google sign in repo. (I talked about this with Brent Vatne but didn't have enough time to move forward on the matter.) If we do this from the beginning,
I guess so; |
I think it's easier for people to contribute when it's just JS and prop types for components, if there are huge upsides here or just to have a better support for people using TS it makes sense to use it.
I like it if libraries use swift and it's definitely possible. It's more beginners friendly and easier to understand than objective-c especially if you come from the JS side. I think it opens up for more contributions. Also handling the swift - objc bindings is not a big deal from my point of view.
Maybe separate issues for the parts that don't conflict each other. Then certain people can take one over and create a PR. |
this end state of having one module that Expo engineers and the rest of the community all collaborate on is definitely desirable! I don't have a strong preference on whether it's implemented as a unimodule or not, we certainly don't want to try to force a different standard on the community if there isn't an appetite for it beyond compatibility with Expo. we can still include packages in the Expo SDK if they aren't unimodules. there are a few things that we'd love to see in this module for us to collaborate on it and include it in Expo:
the benefits of using a unimodule here would be:
the downsides:
|
Thanks for the feedback everyone! I'll review this and come up with some changes to the README based on this. In the meantime, keep the feedback coming! |
hello everyone, sorry for radio silence, I was too busy.
in that case I'd lean toward not using the unimodules unless we find out we need access to functionality like permissions, filesystem as @brentvatne mentioned. While the possibility to create one module for flutter and cordova is great, I don't think it's realistic that we'd implement support for those tools. We can always add unimodules later if needed.
sounds good to me! I think nothing is keeping us from starting to work on this, as the api is nicely described in the readme. I'll slowly start working on this and hope that @matt-oakes who worked on the api description will be available to do some code review here and there and I know @ericlewis was interested in working on this too. I plan to proceed roughly like this: Anyone else reading this is ofc also welcome to pitch in. Just let us know here what you want to work on and open a draft PR for visibility. |
Happy to help with code reviews! Feel free to open a draft PR whenever you have something. That will allow other to collaborate easily. |
sounds like a good plan! |
Hi, I really want to help you make this lib, can you tell me what can I do? P.S. this is my first time of contributing, so do not judge strictly |
@tunegov Help is always welcome! Keep an eye on this repo (you can watch it using the buttons at the top of the page to get notifications) and feel free to jump in and help when you see the opportunity. It seems like there hasn't been too much movement on it yet, but once we have some basics in there there will be plenty of opportunity to help out 👍 |
@tunegov you can try introducing typescript to the package, or implement some of the apis described in readme if you want :) For adding TS, https://github.com/react-native-community/bob can serve as inspiration. It should also be easier as it does not require digging into native code. |
Hi! 👋🏼 I have no experience with native iOS nor Objective-C but I’d love to help out on this as well. |
@thib92 sure, please go ahead! :) |
I’m here to contribute as well. We just got done with SCA (Europe Payments Law coming into effect Saturday, now to keep Apple happy!) |
hi everyone, we are going to stop the development of this package and rely on Expo's implementation instead, please see the updated readme. Thanks! |
We should use this issue to track how we are planning to implement v1 of the library.
Open questions
The text was updated successfully, but these errors were encountered: