Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Feature: React Native Support #2993

Open
2 tasks done
CristianFigueredo opened this issue Mar 23, 2022 · 6 comments
Open
2 tasks done

🚀 Feature: React Native Support #2993

CristianFigueredo opened this issue Mar 23, 2022 · 6 comments
Labels
enhancement New feature or request

Comments

@CristianFigueredo
Copy link

🔖 Feature description

React Native is a Framework created by Instagram, and now maintained by Facebook.

which is the pioneer in cross-platform native development (iOS, Android, Web, MacOS, Windows among others).

It is widely used and in demand, and now improving quite fast, thanks to the strong competition from Flutter.

Thousands of Facebook screens (in production are made with React Native).
The support of this framework will attract a number of developers who are able to see the productive potential of using both tools together.

🎤 Pitch

Besides, the hard part is already done.

support for iOS (Objective-C or/and Swift) and Android (Kotlin or/and Java) as well as Web (javascript).

The only thing needed is to make the bridges, to make it compatible with React Native.

thank you very much for taking the time to read this, if you have any question I am at your disposal, nice community.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@Swinkid
Copy link
Contributor

Swinkid commented Mar 23, 2022

Quick google suggest most of the regular JavaScript SDK should work. Would be useful to know what doesn't work.

https://dev.to/fernandoamz/appwrite-react-native-48cn

Without testing I have a hunch some authentication methods don't work like apple for example, but a standard username password would..

@CristianFigueredo
Copy link
Author

@Swinkid you are right, with the SDK for Web , 95% of the work is done.

OAuth is not compatible in my opinion.

A solution would be to use a WebView, or use OAuth libraries that are already available for React Native (recommended).

@CristianFigueredo
Copy link
Author

also APIs that are browser-specific will have to be replaced by their React Native equivalents.

@ammarfaris
Copy link

ammarfaris commented Sep 21, 2022

Congrats on the 1.0 release! Would like to ask for the 1.0 release, has OAuth support for React Native (RN) developers been improved?

This work-around / package is no longer maintained and is not working, unfortunately:
DiegoBM/react-native-appwrite-oauth#1

The slightly less support for React Native has forced me to opt for other alternatives out there. Don't get me wrong, u guys are awesome! keep it up..! just hope that the OAuth support for RN is built-in into the backend/ JS SDK.

@stnguyen90
Copy link
Contributor

@CristianFigueredo, thanks for raising this issue! 🙏 It would be helpful to narrow down specifically what doesn't work with the SDK for web in react native so we can work on adding support. Perhaps you can provide reproduction steps and actual behavior of oauth authentication in appwrite/sdk-for-web#29

@stnguyen90
Copy link
Contributor

In order to add support, we really need to know what exactly doesn't work so we can work on adding support. Please create an issue in https://github.com/appwrite/sdk-for-web for each problem and include as much detail as possible (like error logs).

@appwrite appwrite locked and limited conversation to collaborators Oct 5, 2022
@stnguyen90 stnguyen90 added enhancement New feature or request and removed feature labels Mar 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants