<commit_before>
## Dependencies

    $ make deps

Alternatively, call these separately:

    $ make deps-npm
    $ make deps-pods
    $ make deps-link

Note that after running `deps-pods`, you need to modify the Pods project as described under **iOS TestFlight** below.


## Run JS Compiler

    $ shadow-cljs watch app


## Start metro bundler with more appropriate mem settings

    $ node --expose-gc --max_old_space_size=4096 ./node_modules/react-native/local-cli/cli.js start --reset-cache


## Creating Release Bundle on iOS

    $ shadow-cljs release app

    $ node --expose-gc --max_old_space_size=4096 ./node_modules/react-native/local-cli/cli.js bundle --entry-file app/index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios


## Publishing to iOS TestFlight

You need to modify projects in **XCode** as follows for _Product > Archive_ to work:

- Add `Mailcore.framework` in `RNMailCore` target under _Libraries > RNMailCore.xcodeproj_
- Remove `React` target from `Pods` project


## Creating Release Bundle on Android
    
    $ make beta-android
    $ adb install app/build/outputs/apk/release/app-release.apk


## Running on Android

    $ adb kill-server
    $ adb start-server
    $ adb devices

    $ react-native run-android<commit_msg>Correction in app README for android build<commit_after>
## Dependencies

    $ make deps

Alternatively, call these separately:

    $ make deps-npm
    $ make deps-pods
    $ make deps-link

Note that after running `deps-pods`, you need to modify the Pods project as described under **iOS TestFlight** below.


## Run JS Compiler

    $ shadow-cljs watch app


## Start metro bundler with more appropriate mem settings

    $ node --expose-gc --max_old_space_size=4096 ./node_modules/react-native/local-cli/cli.js start --reset-cache


## Creating Release Bundle on iOS

    $ shadow-cljs release app

    $ node --expose-gc --max_old_space_size=4096 ./node_modules/react-native/local-cli/cli.js bundle --entry-file app/index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios


## Publishing to iOS TestFlight

You need to modify projects in **XCode** as follows for _Product > Archive_ to work:

- Add `Mailcore.framework` in `RNMailCore` target under _Libraries > RNMailCore.xcodeproj_
- Remove `React` target from `Pods` project


## Creating Release Bundle on Android
    
    $ make android
    $ adb install android/app/build/outputs/apk/release/app-release.apk


## Running on Android

    $ adb kill-server
    $ adb start-server
    $ adb devices

    $ react-native run-android
{'fraction_non_alphanumeric': 0.09655172413793103, 'fraction_numerical': 0.006130268199233717, 'mean_word_length': 3.2180936995153475, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2178617', 'n_tokens_mistral': 855, 'n_tokens_neox': 796, 'n_words': 261}