a Challenge from the Pleo team
This is a Challenge project defined here. As the challege wanted, This is a brown field app which the native part is implemented by Swift (no Android yet). Though there is already a libray for taking picture with the camera, The decision was to create one with Swift(& connecting to react native side).
- run the api.
- clone the project &
cd PleoMobileChallenge
yarn install
ornpm install
react-native run-ios
Since the camera is not working in an Ios simulator, you will have to test this functionality on a real device. The server route
is localhost
by default, But if you want to test it in a real device you should change localhost
to the ip of your system.
to do so:
- edit the file in
/ios/URLS.swift
- edit the file in
/src/config/api/routes.ts