B1 Mobile is the mobile app companion to the B1.church app. It runs on both iOS and Android and provides the same features as the web version including online giving, self-check-in for attendance, live streaming of services, and an interactive member directory. Visit B1.church to learn more.
The only reason this program is free is because of the generous support from users. If you want to support us to keep this free, please head over to ChurchApps or sponsor us on GitHub. Thank you so much!
We have a great community for end-users on Facebook. It's a good way to ask questions, get tips and follow new updates. Come join us!
If you discover an issue or have a feature request, simply submit it to our issues log. Don't be shy, that's how the program gets better.
If you would like to contribute in any way, head over to our Slack Channel and introduce yourself. We'd love to hear from you.
If you'd like to set up the project locally, see our development guide. For this app:
- Copy dotenv.sample.txt to .env
- Run
npm i
to install dependencies
- Start React Native - Run
npm start
to start the React Native server (server runs on 8081 port). - Install Android App - In Android Studio open the /android folder and click the run button to install the app on your device.
- Connect App to React Native - Either shake the device or run
adb shell input keyevent 82
to open the developer menu. Go to settings, Debug server host and enter YourIP:8081. Restart the app and it should work properly.
- Start and Install - Run
react-native run-android
to start the React Native server and install the app - Connect App to React Native - Either shake the device or run
adb shell input keyevent 82
to open the developer menu. Go to settings, Debug server host and enter YourIP:8081. Restart the app and it should work properly.
- Follow the environment setup instructions here (first time only)
- Hardcode stage="prod" in EnvironmentHelper.ts
- Make sure
/android/app/google-services.json
and/ios/GoogleService-Info.plist
files exist. - Increment the version number in
android/app/build.gradle
andpackage.json
- Run
cd android
followed bygradlew bundleRelease
to produce the release bundle. - Plug in an Android phonet via USB so an apk is generated for the correct device.
- Run
cd..
followed byreact-native run-android --variant=release
to generate an apk file for Android devices. You can close the node window when it completes. - Open the app in Android studio. Choose Build -> Generate Signed Bundle and point to your keys. Note: It may be necessary to run
SET NODE_OPTIONS=--openssl-legacy-provider
and then launch Android Studio from the consoleC:\Program Files\Android\Android Studio\bin\studio64.exe
in order to comiple the release bundle. - The signed build will be at
\android\app\release
. Upload it to the Google Play store.
Follow instructions here
- Run
yarn
- Run
cd ios
andpod install
- In XCode open
Info
and increase the version number and code. - Build, archive, validate and distribute.
- Hardcode stage="prod" in EnvironmentHelper.ts
- Update version number in package.json
- Run 'appcenter codepush release-react -a Live-Church-Solutions/B1Mobile -d Production' to push to Android
- Run 'appcenter codepush release-react -a Live-Church-Solutions/B1Mobile_iOS -d Production' to push to iOS