Back

ReactNative Localhost

  • 0
  • Android
  • General
  • Self Hosted
sycect
13 Apr, 2024, 08:51

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

TypeScript
    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

TypeScript
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?

TL;DR
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.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more