Giter VIP home page Giter VIP logo

kinde-expo-app's Introduction

kinde-expo-app

This repository is the Expo equivalent of kinde-react-native-starter-kit-0-7x. and is created using the Expo CLI with the TypeScript template.

How to run this project ?

Please follow the instructions provided below carefully in order to get this project up and running.

  1. Install all project dependencies using npm install and then run npm start, you should see something similar to the following.

    This means that you have the metro-bundler running, on the current machine having LAN IP address `17.17.1.114` on port `8081`.
  2. Install the Expo Go application from the app store (iPhone) or Play Store for Android on the target device.

  3. Ensure that the target device is present on the same LAN as the machine running the metro bundler and is able to communicate with the metro-bundler over TCP. (You may need to alter some firewall rules on the device running the metro-bundler) for e.g. on Ubuntu to enable incoming connections on the metro-bundler device we add the following rule using the Uncomplicated Firewall.

    sudo ufw allow from 17.17.1.112 to any port 8081 proto tcp   
    

    For a MacOS machine the same could be acheived using the network options in system preferences .

  4. Add the IP address (will be different in your case) of the metro-bundler server to the env.example file and rename the file as .env.

    EXPO_PUBLIC_KINDE_ISSUER_URI='https://your-issuer-domain.kinde.com'
    EXPO_PUBLIC_KINDE_REDIRECT_URI=exp://17.17.1.114:8081
    EXPO_PUBLIC_KINDE_CLIENT_ID='your-client-id'
    EXPO_PUBLIC_KINDE_LOGOUT_REDIRECT_URI=exp://17.17.1.114:8081
    

    Follow this by providing same logout and redirect URIs in the Kinde dashboard as shown in the dashboard below.

  5. Open the Expo Go application on your target device and scan the QRCode shown in the first step, the metro bundler will then install the bundled app on your target device, this is shown in the following screenshots.



  6. Completion of the above steps should result in a succesful login.

kinde-expo-app's People

Contributors

muhammadatif-devsinc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.