A padel score tracking app
Use the git to clone the repository.
git clone https://github.com/coolbotic/padel.gitStart Expo Server
npx expo start --dev-clientPass the --latest flag to the eas build:run command to download and install the latest build on the iOS Simulator:
Install NPM packages (and check if compatible with expo)
npx expo install (e.g. react-native-paper)Use this page to find packages that are compatible with expo https://reactnative.directory/?order=updated
- Expo
- config-plugins/react-native-ble-plx, https://www.npmjs.com/package/@config-plugins/react-native-ble-plx
- expo-screen-orientation, https://docs.expo.dev/versions/latest/sdk/screen-orientation/
https://docs.expo.dev/develop/development-builds/introduction/ Used to be able to run native code (e.g. bluetooth)
Installing EAS CLI as a global npm dependency
npm install -g eas-cli
https://github.com/demsr/expo-ble
Create iOS simulator build
eas build --profile development-simulator --platform ios
Create build for iOS device
Register device,
eas device:create
Create dev build
eas build --profile development --platform ios
Create Android development build
eas build --profile development --platform android
Add
--localto build the app on local device not the dev server
Install android app onto device https://expo.dev/accounts/coolbotic/projects/padel/builds/5a5d8f23-e292-40ad-abc1-196f2968d222
Reinstall dev-client onto iOS simulator
eas build:run -p iosReinstall dev-client onto android simulator
eas build:run -p androidInstall expo-dev-client
npx expo install expo-dev-clientLogin to your Expo account (https://expo.dev/)
eas loginYou can check whether you are logged in by running eas whoami
npx create-expo-app --templateBlank TS template used
npx expo install react-native-safe-area-contextnpm install react-native-paperhttps://callstack.github.io/react-native-paper/docs/guides/getting-started/
npx expo install react-native-ble-plx @config-plugins/react-native-ble-plxhttps://www.npmjs.com/package/@config-plugins/react-native-ble-plx
npx expo install react-native-reanimated-carousel
*Supporting Packages*
npx expo install react-native-gesture-handler
npx expo install react-native-reanimated
https://github.com/dohooo/react-native-reanimated-carousel
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.