├── .watchmanconfig ├── ios ├── test.expo.nfc │ ├── Supporting │ │ ├── shell-app.bundle │ │ ├── shell-app-manifest.json │ │ ├── sdkVersions.json │ │ ├── launch_icon.png │ │ ├── launch_background_image.png │ │ ├── EXBuildConstants.json │ │ ├── main.m │ │ ├── EXShell.plist │ │ ├── EXSDKVersions.plist │ │ ├── EXBuildConstants.plist │ │ ├── EXBuildConstants.plist.bak │ │ ├── Info.plist │ │ └── LaunchScreen.xib │ ├── Assets.xcassets │ │ └── AppIcon.appiconset │ │ │ ├── AppIcon20x20@2x.png │ │ │ ├── AppIcon20x20@3x.png │ │ │ ├── AppIcon29x29@2x.png │ │ │ ├── AppIcon29x29@3x.png │ │ │ ├── AppIcon40x40@2x.png │ │ │ ├── AppIcon40x40@3x.png │ │ │ ├── AppIcon60x60@2x.png │ │ │ ├── AppIcon60x60@3x.png │ │ │ ├── AppIcon1024x1024.png │ │ │ ├── AppIcon76x76~ipad.png │ │ │ ├── AppIcon76x76@2x~ipad.png │ │ │ ├── AppIcon83.5x83.5@2x~ipad.png │ │ │ └── Contents.json │ ├── AppDelegate.h │ └── AppDelegate.m ├── Gemfile ├── test.expo.nfc.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── test.expo.nfc.xcscheme │ └── project.pbxproj ├── test.expo.nfc.xcworkspace │ └── contents.xcworkspacedata ├── Gemfile.lock ├── PodFile └── Podfile.lock ├── assets ├── icon.png └── splash.png ├── android ├── debug.keystore ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── app │ ├── src │ │ └── main │ │ │ ├── res │ │ │ ├── mipmap-hdpi │ │ │ │ ├── dev_icon.png │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── dev_icon.png │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── dev_icon.png │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── dev_icon.png │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── dev_icon.png │ │ │ │ └── ic_launcher.png │ │ │ ├── drawable-xxxhdpi │ │ │ │ ├── pin_white.png │ │ │ │ ├── big_logo_dark.png │ │ │ │ ├── big_logo_filled.png │ │ │ │ ├── pin_white_fade.png │ │ │ │ ├── ic_home_white_36dp.png │ │ │ │ ├── ic_logo_white_32dp.png │ │ │ │ ├── notification_icon.png │ │ │ │ ├── big_logo_dark_filled.png │ │ │ │ ├── big_logo_new_filled.png │ │ │ │ ├── ic_refresh_white_36dp.png │ │ │ │ ├── ic_share_white_36dp.png │ │ │ │ ├── shell_notification_icon.png │ │ │ │ └── ic_arrow_back_white_36dp.png │ │ │ ├── drawable-hdpi │ │ │ │ ├── ic_home_white_36dp.png │ │ │ │ ├── ic_logo_white_32dp.png │ │ │ │ ├── ic_share_white_36dp.png │ │ │ │ ├── ic_refresh_white_36dp.png │ │ │ │ └── ic_arrow_back_white_36dp.png │ │ │ ├── drawable-mdpi │ │ │ │ ├── ic_home_white_36dp.png │ │ │ │ ├── ic_logo_white_32dp.png │ │ │ │ ├── ic_share_white_36dp.png │ │ │ │ ├── ic_refresh_white_36dp.png │ │ │ │ ├── ic_arrow_back_white_36dp.png │ │ │ │ └── shell_launch_background_image.png │ │ │ ├── drawable-xhdpi │ │ │ │ ├── ic_home_white_36dp.png │ │ │ │ ├── ic_logo_white_32dp.png │ │ │ │ ├── ic_share_white_36dp.png │ │ │ │ ├── ic_refresh_white_36dp.png │ │ │ │ └── ic_arrow_back_white_36dp.png │ │ │ ├── drawable-xxhdpi │ │ │ │ ├── ic_home_white_36dp.png │ │ │ │ ├── ic_logo_white_32dp.png │ │ │ │ ├── ic_share_white_36dp.png │ │ │ │ ├── ic_refresh_white_36dp.png │ │ │ │ └── ic_arrow_back_white_36dp.png │ │ │ ├── drawable │ │ │ │ └── splash_background.xml │ │ │ ├── values │ │ │ │ ├── dimens.xml │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ ├── layout │ │ │ │ ├── exponent_check_box.xml │ │ │ │ ├── exponent_button.xml │ │ │ │ ├── error_activity_new.xml │ │ │ │ ├── error_console_list_item.xml │ │ │ │ ├── exponent_dev_activity.xml │ │ │ │ ├── notification_shell_app.xml │ │ │ │ ├── error_console_fragment.xml │ │ │ │ ├── notification.xml │ │ │ │ └── error_fragment.xml │ │ │ └── values-w820dp │ │ │ │ └── dimens.xml │ │ │ ├── java │ │ │ └── host │ │ │ │ └── exp │ │ │ │ └── exponent │ │ │ │ ├── generated │ │ │ │ ├── DetachBuildConstants.java │ │ │ │ ├── BasePackageList.java │ │ │ │ └── AppConstants.java │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ │ ├── assets │ │ │ └── kernel-manifest.json │ │ │ └── AndroidManifest.xml │ ├── fabric.properties │ ├── google-services.json │ ├── expo.gradle │ ├── proguard-rules.pro │ ├── build.gradle │ └── app.iml ├── gradle.properties ├── settings.gradle ├── android.iml ├── build.gradle └── gradlew ├── .expo └── settings.json ├── .gitignore ├── stubs └── MifareClassicWrapperStub.js ├── scripts ├── switchPlatform.js └── init.js ├── unejected.json ├── babel.config.js ├── ejected.json ├── package.json ├── App.js ├── INITIAL.md └── README.md /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /ios/test.expo.nfc/Supporting/shell-app.bundle: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ios/test.expo.nfc/Supporting/shell-app-manifest.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ios/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | gem 'cocoapods' -------------------------------------------------------------------------------- /ios/test.expo.nfc/Supporting/sdkVersions.json: -------------------------------------------------------------------------------- 1 | {"sdkVersions":["31.0.0","32.0.0","33.0.0"]} -------------------------------------------------------------------------------- /assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/assets/icon.png -------------------------------------------------------------------------------- /assets/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/assets/splash.png -------------------------------------------------------------------------------- /android/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/debug.keystore -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /ios/test.expo.nfc/Supporting/launch_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/ios/test.expo.nfc/Supporting/launch_icon.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/dev_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/mipmap-hdpi/dev_icon.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/dev_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/mipmap-mdpi/dev_icon.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/dev_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/mipmap-xhdpi/dev_icon.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/dev_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/mipmap-xxhdpi/dev_icon.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/dev_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/mipmap-xxxhdpi/dev_icon.png -------------------------------------------------------------------------------- /.expo/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "hostType": "lan", 3 | "lanType": "ip", 4 | "dev": true, 5 | "minify": false, 6 | "urlRandomness": "fs-rvd", 7 | "https": false 8 | } 9 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxxhdpi/pin_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-xxxhdpi/pin_white.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ios/test.expo.nfc/Supporting/launch_background_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/ios/test.expo.nfc/Supporting/launch_background_image.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxxhdpi/big_logo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-xxxhdpi/big_logo_dark.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-hdpi/ic_home_white_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-hdpi/ic_home_white_36dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-hdpi/ic_logo_white_32dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-hdpi/ic_logo_white_32dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-hdpi/ic_share_white_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-hdpi/ic_share_white_36dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/ic_home_white_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-mdpi/ic_home_white_36dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/ic_logo_white_32dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-mdpi/ic_logo_white_32dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/ic_share_white_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-mdpi/ic_share_white_36dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xhdpi/ic_home_white_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-xhdpi/ic_home_white_36dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xhdpi/ic_logo_white_32dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-xhdpi/ic_logo_white_32dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxxhdpi/big_logo_filled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-xxxhdpi/big_logo_filled.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxxhdpi/pin_white_fade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-xxxhdpi/pin_white_fade.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-hdpi/ic_refresh_white_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-hdpi/ic_refresh_white_36dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/ic_refresh_white_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-mdpi/ic_refresh_white_36dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xhdpi/ic_share_white_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-xhdpi/ic_share_white_36dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/ic_home_white_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-xxhdpi/ic_home_white_36dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/ic_logo_white_32dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-xxhdpi/ic_logo_white_32dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/ic_share_white_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-xxhdpi/ic_share_white_36dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxxhdpi/ic_home_white_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-xxxhdpi/ic_home_white_36dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxxhdpi/ic_logo_white_32dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-xxxhdpi/ic_logo_white_32dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxxhdpi/notification_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-xxxhdpi/notification_icon.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-hdpi/ic_arrow_back_white_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-hdpi/ic_arrow_back_white_36dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/ic_arrow_back_white_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-mdpi/ic_arrow_back_white_36dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xhdpi/ic_refresh_white_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-xhdpi/ic_refresh_white_36dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/ic_refresh_white_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-xxhdpi/ic_refresh_white_36dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxxhdpi/big_logo_dark_filled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-xxxhdpi/big_logo_dark_filled.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxxhdpi/big_logo_new_filled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-xxxhdpi/big_logo_new_filled.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxxhdpi/ic_refresh_white_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-xxxhdpi/ic_refresh_white_36dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxxhdpi/ic_share_white_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-xxxhdpi/ic_share_white_36dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xhdpi/ic_arrow_back_white_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-xhdpi/ic_arrow_back_white_36dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/ic_arrow_back_white_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-xxhdpi/ic_arrow_back_white_36dp.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxxhdpi/shell_notification_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-xxxhdpi/shell_notification_icon.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/shell_launch_background_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-mdpi/shell_launch_background_image.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxxhdpi/ic_arrow_back_white_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/android/app/src/main/res/drawable-xxxhdpi/ic_arrow_back_white_36dp.png -------------------------------------------------------------------------------- /ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon20x20@2x.png -------------------------------------------------------------------------------- /ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon20x20@3x.png -------------------------------------------------------------------------------- /ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon29x29@2x.png -------------------------------------------------------------------------------- /ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon29x29@3x.png -------------------------------------------------------------------------------- /ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon40x40@2x.png -------------------------------------------------------------------------------- /ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon40x40@3x.png -------------------------------------------------------------------------------- /ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon60x60@2x.png -------------------------------------------------------------------------------- /ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon60x60@3x.png -------------------------------------------------------------------------------- /ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon1024x1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon1024x1024.png -------------------------------------------------------------------------------- /ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon76x76~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon76x76~ipad.png -------------------------------------------------------------------------------- /ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon76x76@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon76x76@2x~ipad.png -------------------------------------------------------------------------------- /ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon83.5x83.5@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/featherbear/expo-nfc-react-native/HEAD/ios/test.expo.nfc/Assets.xcassets/AppIcon.appiconset/AppIcon83.5x83.5@2x~ipad.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/**/* 2 | /ios/Pods/ 3 | /ios/build/ 4 | .idea/ 5 | .gradle/ 6 | /android/app/build/ 7 | /android/app/release/ 8 | /android/build/ 9 | /android/local.properties 10 | /app.json 11 | /config.json 12 | /.expo/packager-info.json 13 | -------------------------------------------------------------------------------- /android/app/fabric.properties: -------------------------------------------------------------------------------- 1 | #Contains API Secret used to validate your application. Commit to internal source control; avoid making secret public. 2 | #Sun Dec 13 13:22:06 PST 2015 3 | apiSecret=83176563693e1eefa1a91359c4151b88c3fd17e52ddf6d64416b7f1e0fa9cede 4 | -------------------------------------------------------------------------------- /ios/test.expo.nfc.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/splash_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/test.expo.nfc/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015-present 650 Industries. All rights reserved. 2 | 3 | #import 4 | #import 5 | 6 | @interface AppDelegate : EXStandaloneAppDelegate 7 | 8 | @end 9 | -------------------------------------------------------------------------------- /android/app/src/main/java/host/exp/exponent/generated/DetachBuildConstants.java: -------------------------------------------------------------------------------- 1 | package host.exp.exponent.generated; 2 | 3 | // This file is auto-generated. Please don't rename! 4 | public class DetachBuildConstants { 5 | 6 | public static final String DEVELOPMENT_URL = ""; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Nov 15 09:24:08 CET 2018 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip 7 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 16dp 6 | 7 | -------------------------------------------------------------------------------- /android/app/src/main/res/layout/exponent_check_box.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | -------------------------------------------------------------------------------- /ios/test.expo.nfc/Supporting/EXBuildConstants.json: -------------------------------------------------------------------------------- 1 | {"TEMPORARY_SDK_VERSION":"35.0.0","EXPO_RUNTIME_VERSION":"33.0.0","STANDALONE_CONTEXT_TYPE":"user","DEFAULT_API_KEYS":{"GOOGLE_MAPS_IOS_API_KEY":"","AMPLITUDE_KEY":"1e246ef3dacaabe8648768d7c35fceb1"},"developmentUrl":"exp5a9e8e27c6444abebcda9249f5f0fd44://192.168.0.104:19000"} -------------------------------------------------------------------------------- /ios/test.expo.nfc.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /android/app/src/main/res/layout/exponent_button.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /ios/test.expo.nfc/Supporting/main.m: -------------------------------------------------------------------------------- 1 | // Copyright © 2016 650 Industries, Inc. All rights reserved. 2 | 3 | #import 4 | #import "AppDelegate.h" 5 | 6 | int main(int argc, char * argv[]) { 7 | @autoreleasepool { 8 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | android.useDeprecatedNdk=true 2 | org.gradle.parallel=true 3 | org.gradle.daemon=true 4 | org.gradle.jvmargs=-Xmx9216M -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 5 | org.gradle.configureondemand=true 6 | org.gradle.internal.repository.initial.backoff=1000 7 | android.useAndroidX=true 8 | android.enableJetifier=true 9 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | include ':react-native-nfc-manager' 3 | project(':react-native-nfc-manager').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-nfc-manager/android') 4 | 5 | 6 | // Import gradle helpers for unimodules. 7 | apply from: '../node_modules/react-native-unimodules/gradle.groovy' 8 | 9 | // Include unimodules. 10 | includeUnimodulesProjects() 11 | -------------------------------------------------------------------------------- /stubs/MifareClassicWrapperStub.js: -------------------------------------------------------------------------------- 1 | export default new (class { 2 | get NfcManager () { 3 | return null 4 | } 5 | 6 | async isMFCsupported () { 7 | return false 8 | } 9 | 10 | async start () { 11 | throw new Error('MFC not supported') 12 | } 13 | 14 | listen (callback) { 15 | return null 16 | } 17 | 18 | onStateChanged (listener) { 19 | return null 20 | } 21 | })() 22 | -------------------------------------------------------------------------------- /android/app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /android/app/src/main/res/layout/error_activity_new.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | -------------------------------------------------------------------------------- /ios/test.expo.nfc/Supporting/EXShell.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | isManifestVerificationBypassed 6 | 7 | isShell 8 | 9 | manifestUrl 10 | exp://exp.host/@bitcs/nfc 11 | releaseChannel 12 | default 13 | 14 | 15 | -------------------------------------------------------------------------------- /ios/test.expo.nfc/Supporting/EXSDKVersions.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | detachedNativeVersions 6 | 7 | kernel 8 | 35.0.0 9 | shell 10 | 35.0.0 11 | 12 | sdkVersions 13 | 14 | 35.0.0 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /scripts/switchPlatform.js: -------------------------------------------------------------------------------- 1 | const fs = require('fs'); 2 | const path = require('path'); 3 | 4 | const startFile = process.env.REACT_NATIVE_EJECTED === 'true' ? '../ejected.json' : '../unejected.json'; 5 | 6 | fs.copyFileSync(path.resolve(__dirname, startFile), path.resolve(__dirname, '../app.json')); 7 | console.log(startFile + " copied to app.json!"); 8 | 9 | const isEjected = process.env.REACT_NATIVE_EJECTED === 'true'; 10 | 11 | fs.writeFileSync(path.resolve(__dirname, '../config.json'), JSON.stringify({ isEjected }, null, "\t")); 12 | console.log(`Updated config.json file with isEjected: ${isEjected}`); -------------------------------------------------------------------------------- /android/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #1b73b4 4 | #011A2D 5 | #1b73b4 6 | #FFFFFF 7 | #FFFFFF 8 | #FFFFFF 9 | #FF0000 10 | #66FFFFFF 11 | #F6F6F7 12 | #ffffff 13 | #FFFFFF 14 | 15 | -------------------------------------------------------------------------------- /unejected.json: -------------------------------------------------------------------------------- 1 | { 2 | "expo": { 3 | "name": "test.expo.nfc", 4 | "slug": "nfc", 5 | "privacy": "public", 6 | "sdkVersion": "35.0.0", 7 | "platforms": [ 8 | "ios", 9 | "android", 10 | "web" 11 | ], 12 | "version": "1.0.0", 13 | "orientation": "portrait", 14 | "icon": "./assets/icon.png", 15 | "splash": { 16 | "image": "./assets/splash.png", 17 | "resizeMode": "contain", 18 | "backgroundColor": "#ffffff" 19 | }, 20 | "updates": { 21 | "fallbackToCacheTimeout": 0 22 | }, 23 | "assetBundlePatterns": [ 24 | "**/*" 25 | ], 26 | "ios": { 27 | "supportsTablet": true 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /ios/test.expo.nfc/Supporting/EXBuildConstants.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | DEFAULT_API_KEYS 6 | 7 | AMPLITUDE_KEY 8 | 1e246ef3dacaabe8648768d7c35fceb1 9 | GOOGLE_MAPS_IOS_API_KEY 10 | 11 | 12 | EXPO_RUNTIME_VERSION 13 | 33.0.0 14 | STANDALONE_CONTEXT_TYPE 15 | user 16 | TEMPORARY_SDK_VERSION 17 | 35.0.0 18 | developmentUrl 19 | exp5a9e8e27c6444abebcda9249f5f0fd44://192.168.0.104:19000 20 | 21 | 22 | -------------------------------------------------------------------------------- /ios/test.expo.nfc/Supporting/EXBuildConstants.plist.bak: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | DEFAULT_API_KEYS 6 | 7 | AMPLITUDE_KEY 8 | 1e246ef3dacaabe8648768d7c35fceb1 9 | GOOGLE_MAPS_IOS_API_KEY 10 | 11 | 12 | EXPO_RUNTIME_VERSION 13 | 33.0.0 14 | STANDALONE_CONTEXT_TYPE 15 | user 16 | TEMPORARY_SDK_VERSION 17 | 35.0.0 18 | developmentUrl 19 | exp5a9e8e27c6444abebcda9249f5f0fd44://192.168.0.104:19000 20 | 21 | 22 | -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | let config = {} 2 | try { 3 | config = require('./config.json') 4 | } catch {} 5 | 6 | module.exports = function (api) { 7 | api.cache(true) 8 | return { 9 | presets: ['babel-preset-expo'], 10 | plugins: [ 11 | [ 12 | 'module-resolver', 13 | { 14 | // "root": ["./assets"], 15 | alias: { 16 | ...(config.isEjected ? {} : { 17 | // Add your own stub files here! 18 | // These files will be loaded in replacement of libraries when running in unejected (i.e. expo) configuration 19 | 20 | 'react-native-mifare-classic-wrapper$': './stubs/MifareClassicWrapperStub' 21 | }) 22 | }, 23 | extensions: ['.ios.js', '.android.js', '.js', '.json'] 24 | } 25 | ] 26 | ] 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /android/android.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/main/java/host/exp/exponent/generated/BasePackageList.java: -------------------------------------------------------------------------------- 1 | package host.exp.exponent.generated; 2 | 3 | import java.util.Arrays; 4 | import java.util.List; 5 | import org.unimodules.core.interfaces.Package; 6 | 7 | public class BasePackageList { 8 | public List getPackageList() { 9 | return Arrays.asList( 10 | new expo.modules.av.AVPackage(), 11 | new expo.modules.constants.ConstantsPackage(), 12 | new expo.modules.filesystem.FileSystemPackage(), 13 | new expo.modules.font.FontLoaderPackage(), 14 | new expo.modules.keepawake.KeepAwakePackage(), 15 | new expo.modules.lineargradient.LinearGradientPackage(), 16 | new expo.modules.location.LocationPackage(), 17 | new expo.modules.permissions.PermissionsPackage(), 18 | new expo.modules.sqlite.SQLitePackage(), 19 | new expo.modules.webbrowser.WebBrowserPackage() 20 | ); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | test.expo.nfc 3 | Exponent Dev 4 | host.exp.exponent.SharedPreferences 5 | Something went wrong. 6 | Sorry about that. You can go back to Expo home or try to reload the Experience. 7 | Sorry about that. Press the reload button to try again. 8 | Unable to load Experience. 9 | Uncaught Error: %s 10 | View error log 11 | Default 12 | Experience notifications 13 | Persistent notifications that provide debug info about open experiences 14 | 15 | -------------------------------------------------------------------------------- /android/app/src/main/res/layout/error_console_list_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 19 | 20 | 25 | 26 | 31 | 32 | -------------------------------------------------------------------------------- /android/app/src/main/java/host/exp/exponent/MainActivity.java: -------------------------------------------------------------------------------- 1 | package host.exp.exponent; 2 | 3 | import android.os.Bundle; 4 | 5 | import com.facebook.react.ReactPackage; 6 | 7 | import org.unimodules.core.interfaces.Package; 8 | 9 | import java.util.List; 10 | 11 | import host.exp.exponent.experience.DetachActivity; 12 | import host.exp.exponent.generated.DetachBuildConstants; 13 | 14 | public class MainActivity extends DetachActivity { 15 | 16 | @Override 17 | public String publishedUrl() { 18 | return "exp://exp.host/@bitcs/nfc"; 19 | } 20 | 21 | @Override 22 | public String developmentUrl() { 23 | return DetachBuildConstants.DEVELOPMENT_URL; 24 | } 25 | 26 | @Override 27 | public List reactPackages() { 28 | return ((MainApplication) getApplication()).getPackages(); 29 | } 30 | 31 | @Override 32 | public List expoPackages() { 33 | return ((MainApplication) getApplication()).getExpoPackages(); 34 | } 35 | 36 | @Override 37 | public boolean isDebug() { 38 | return BuildConfig.DEBUG; 39 | } 40 | 41 | @Override 42 | public Bundle initialProps(Bundle expBundle) { 43 | // Add extra initialProps here 44 | return expBundle; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /android/app/src/main/res/layout/exponent_dev_activity.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 18 | 19 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /android/app/google-services.json: -------------------------------------------------------------------------------- 1 | { 2 | "project_info": { 3 | "project_id": "exponent-5dd6d", 4 | "project_number": "367315174693", 5 | "name": "Exponent Play Services" 6 | }, 7 | "client": [ 8 | { 9 | "client_info": { 10 | "mobilesdk_app_id": "1:367315174693:android:f968efbb41d1fa7a", 11 | "client_id": "android:host.exp.exponent", 12 | "client_type": 1, 13 | "android_client_info": { 14 | "package_name": "com.test.expo.nfc", 15 | "certificate_hash": "" 16 | } 17 | }, 18 | "oauth_client": [], 19 | "api_key": [ 20 | { 21 | "current_key": "" 22 | } 23 | ], 24 | "services": { 25 | "analytics_service": { 26 | "status": 2, 27 | "analytics_property": { 28 | "tracking_id": "UA-76673608-1" 29 | } 30 | }, 31 | "cloud_messaging_service": { 32 | "status": 2, 33 | "apns_config": [] 34 | }, 35 | "appinvite_service": { 36 | "status": 1, 37 | "other_platform_oauth_client": [] 38 | }, 39 | "google_signin_service": { 40 | "status": 1 41 | }, 42 | "ads_service": { 43 | "status": 1 44 | } 45 | } 46 | } 47 | ], 48 | "client_info": [], 49 | "ARTIFACT_VERSION": "1" 50 | } 51 | -------------------------------------------------------------------------------- /ejected.json: -------------------------------------------------------------------------------- 1 | { 2 | "expo": { 3 | "name": "test.expo.nfc", 4 | "slug": "nfc", 5 | "privacy": "public", 6 | "sdkVersion": "35.0.0", 7 | "platforms": [ 8 | "ios", 9 | "android", 10 | "web" 11 | ], 12 | "version": "1.0.0", 13 | "orientation": "portrait", 14 | "icon": "./assets/icon.png", 15 | "splash": { 16 | "image": "./assets/splash.png", 17 | "resizeMode": "contain", 18 | "backgroundColor": "#ffffff" 19 | }, 20 | "updates": { 21 | "fallbackToCacheTimeout": 0 22 | }, 23 | "assetBundlePatterns": [ 24 | "**/*" 25 | ], 26 | "ios": { 27 | "supportsTablet": true, 28 | "bundleIdentifier": "test.expo.nfc", 29 | "publishBundlePath": "ios/test.expo.nfc/Supporting/shell-app.bundle", 30 | "publishManifestPath": "ios/test.expo.nfc/Supporting/shell-app-manifest.json" 31 | }, 32 | "isDetached": true, 33 | "detach": { 34 | "iosExpoViewUrl": "https://s3.amazonaws.com/exp-exponent-view-code/ios-v2.11.0-sdk33.0.0-4b05019b-b5d6-454b-8350-09c2187b9f91.tar.gz", 35 | "androidExpoViewUrl": "https://s3.amazonaws.com/exp-exponent-view-code/android-v2.11.4-sdk33.0.0-6a4f0f3e-1f1b-4c33-9155-d0237f6d7c34.tar.gz" 36 | }, 37 | "scheme": "exp5a9e8e27c6444abebcda9249f5f0fd44", 38 | "android": { 39 | "package": "com.test.expo.nfc", 40 | "publishBundlePath": "android/app/src/main/assets/shell-app.bundle", 41 | "publishManifestPath": "android/app/src/main/assets/kernel-manifest.json" 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /android/app/src/main/java/host/exp/exponent/MainApplication.java: -------------------------------------------------------------------------------- 1 | package host.exp.exponent; 2 | 3 | import com.facebook.react.ReactPackage; 4 | 5 | import org.unimodules.core.interfaces.Package; 6 | 7 | import java.util.Arrays; 8 | import java.util.List; 9 | 10 | import expo.loaders.provider.interfaces.AppLoaderPackagesProviderInterface; 11 | import host.exp.exponent.generated.BasePackageList; 12 | import okhttp3.OkHttpClient; 13 | 14 | // Needed for `react-native link` 15 | // import com.facebook.react.ReactApplication; 16 | import community.revteltech.nfc.NfcManagerPackage; 17 | 18 | public class MainApplication extends ExpoApplication implements AppLoaderPackagesProviderInterface { 19 | 20 | @Override 21 | public boolean isDebug() { 22 | return BuildConfig.DEBUG; 23 | } 24 | 25 | // Needed for `react-native link` 26 | public List getPackages() { 27 | return Arrays.asList( 28 | // Add your own packages here! 29 | // TODO: add native modules! 30 | 31 | // Needed for `react-native link` 32 | // new MainReactPackage(), 33 | new NfcManagerPackage() 34 | ); 35 | } 36 | 37 | public List getExpoPackages() { 38 | return new BasePackageList().getPackageList(); 39 | } 40 | 41 | @Override 42 | public String gcmSenderId() { 43 | return getString(R.string.gcm_defaultSenderId); 44 | } 45 | 46 | public static OkHttpClient.Builder okHttpClientBuilder(OkHttpClient.Builder builder) { 47 | // Customize/override OkHttp client here 48 | return builder; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 18 | 19 | 22 | 23 | 29 | 30 | 35 | 36 | 47 | 48 | -------------------------------------------------------------------------------- /android/app/src/main/java/host/exp/exponent/generated/AppConstants.java: -------------------------------------------------------------------------------- 1 | package host.exp.exponent.generated; 2 | 3 | import com.facebook.common.internal.DoNotStrip; 4 | 5 | import java.util.ArrayList; 6 | import java.util.List; 7 | 8 | import host.exp.exponent.BuildConfig; 9 | import host.exp.exponent.Constants; 10 | 11 | @DoNotStrip 12 | public class AppConstants { 13 | 14 | public static final String VERSION_NAME = "2.11.4"; 15 | public static String INITIAL_URL = "exp://exp.host/@bitcs/nfc"; 16 | public static final String SHELL_APP_SCHEME = "exp5a9e8e27c6444abebcda9249f5f0fd44"; 17 | public static final String RELEASE_CHANNEL = "default"; 18 | public static boolean SHOW_LOADING_VIEW_IN_SHELL_APP = true; 19 | public static boolean ARE_REMOTE_UPDATES_ENABLED = true; 20 | public static final List EMBEDDED_RESPONSES; 21 | public static boolean FCM_ENABLED = false; 22 | 23 | static { 24 | List embeddedResponses = new ArrayList<>(); 25 | 26 | // ADD EMBEDDED RESPONSES HERE 27 | // START EMBEDDED RESPONSES 28 | // END EMBEDDED RESPONSES 29 | EMBEDDED_RESPONSES = embeddedResponses; 30 | } 31 | 32 | // Called from expoview/Constants 33 | public static Constants.ExpoViewAppConstants get() { 34 | Constants.ExpoViewAppConstants constants = new Constants.ExpoViewAppConstants(); 35 | constants.VERSION_NAME = VERSION_NAME; 36 | constants.INITIAL_URL = INITIAL_URL; 37 | constants.SHELL_APP_SCHEME = SHELL_APP_SCHEME; 38 | constants.RELEASE_CHANNEL = RELEASE_CHANNEL; 39 | constants.SHOW_LOADING_VIEW_IN_SHELL_APP = SHOW_LOADING_VIEW_IN_SHELL_APP; 40 | constants.ARE_REMOTE_UPDATES_ENABLED = ARE_REMOTE_UPDATES_ENABLED; 41 | constants.EMBEDDED_RESPONSES = EMBEDDED_RESPONSES; 42 | constants.ANDROID_VERSION_CODE = BuildConfig.VERSION_CODE; 43 | constants.FCM_ENABLED = FCM_ENABLED; 44 | return constants; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /android/app/src/main/res/layout/notification_shell_app.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 17 | 18 |