sycectOriginal post
Web Developer
Hello everyone I'm trying this github repo using docker on macos Localhost
https://github.com/appwrite/playground-for-react-native
i've added
"package": "com.rntest.app", in app.json and also in the appwrite console for andorid project
with name as PlaygroundForReactNative
and for client
client
.setEndpoint('http://192.168.50.165:80/')
.setProject('661a29ac00302d11f913')
.setPlatform('com.rntest.app')
.setSelfSigned(true);
macos connected to hotspot of android phone and got the ip of mac as 192.168.50.165
using ifconfig but i'm getting error as
code: 404
jsEngine: "hermes"
message: "The requested route was not found. Please refer to the API docs and try again."
name: "AppwriteException"
response: {message: 'The requested route was not found. Please refer to the API docs and try again.', code: 404, type: 'general_route_not_found', version: '1.5.4'}
stack: "AppwriteException: The requested route was not found. Please refer to the API docs and try again."
type: "general_route_not_found"
__proto__: {constructor: ƒ}
what am i doing wrong?
Summary
Developers are trying to run a ReactNative project from a GitHub repo on macOS localhost with Docker. They've set up the package name in app.json and the Appwrite console correctly but are encountering a 404 error. The issue might be related to the API route not being found. Double-check the API docs and ensure the routes are correctly set up in the project.