Merge pull request 'Android folders from nix shell' (#52) from loewy/renamed-android-folders into master
Reviewed-on: railbird/rn-playground#52 Reviewed-by: Kat Huang <kkathuang@gmail.com>
This commit is contained in:
commit
abb718603e
41
.gitignore
vendored
41
.gitignore
vendored
@ -36,3 +36,44 @@ yarn-error.*
|
||||
|
||||
#direnv
|
||||
.direnv
|
||||
|
||||
# @generated expo-cli sync-b5df6a44d8735348b729920a7406b633cfb74d4c
|
||||
# The following patterns were generated by expo-cli
|
||||
|
||||
# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files
|
||||
|
||||
# dependencies
|
||||
node_modules/
|
||||
|
||||
# Expo
|
||||
.expo/
|
||||
dist/
|
||||
web-build/
|
||||
|
||||
# Native
|
||||
*.orig.*
|
||||
*.jks
|
||||
*.p8
|
||||
*.p12
|
||||
*.key
|
||||
*.mobileprovision
|
||||
|
||||
# Metro
|
||||
.metro-health-check*
|
||||
|
||||
# debug
|
||||
npm-debug.*
|
||||
yarn-debug.*
|
||||
yarn-error.*
|
||||
|
||||
# macOS
|
||||
.DS_Store
|
||||
*.pem
|
||||
|
||||
# local env files
|
||||
.env*.local
|
||||
|
||||
# typescript
|
||||
*.tsbuildinfo
|
||||
|
||||
# @end expo-cli
|
@ -81,9 +81,9 @@ android {
|
||||
|
||||
compileSdkVersion rootProject.ext.compileSdkVersion
|
||||
|
||||
namespace 'com.anonymous.DummyApp'
|
||||
namespace 'android.railbird.app'
|
||||
defaultConfig {
|
||||
applicationId 'com.anonymous.DummyApp'
|
||||
applicationId 'android.railbird.app'
|
||||
minSdkVersion rootProject.ext.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
versionCode 1
|
||||
|
@ -4,7 +4,7 @@
|
||||
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
|
||||
* directory of this source tree.
|
||||
*/
|
||||
package com.anonymous.DummyApp;
|
||||
package android.railbird.app;
|
||||
|
||||
import android.content.Context;
|
||||
import com.facebook.flipper.android.AndroidFlipperClient;
|
@ -1,4 +1,4 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="android.railbird.app">
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
||||
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
|
||||
@ -26,6 +26,7 @@
|
||||
<category android:name="android.intent.category.DEFAULT"/>
|
||||
<category android:name="android.intent.category.BROWSABLE"/>
|
||||
<data android:scheme="com.anonymous.DummyApp"/>
|
||||
<data android:scheme="android.railbird.app"/>
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" android:exported="false"/>
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.anonymous.DummyApp;
|
||||
package android.railbird.app;
|
||||
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
@ -1,4 +1,4 @@
|
||||
package com.anonymous.DummyApp;
|
||||
package android.railbird.app;
|
||||
|
||||
import android.app.Application;
|
||||
import android.content.res.Configuration;
|
@ -1,5 +1,5 @@
|
||||
<resources>
|
||||
<string name="app_name">DummyApp</string>
|
||||
<string name="app_name">Railbird</string>
|
||||
<string name="expo_splash_screen_resize_mode" translatable="false">contain</string>
|
||||
<string name="expo_splash_screen_status_bar_translucent" translatable="false">false</string>
|
||||
</resources>
|
@ -4,7 +4,7 @@
|
||||
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
|
||||
* directory of this source tree.
|
||||
*/
|
||||
package com.anonymous.DummyApp;
|
||||
package android.railbird.app;
|
||||
|
||||
import android.content.Context;
|
||||
import com.facebook.react.ReactInstanceManager;
|
@ -1,4 +1,4 @@
|
||||
rootProject.name = 'DummyApp'
|
||||
rootProject.name = 'Railbird'
|
||||
|
||||
apply from: new File(["node", "--print", "require.resolve('expo/package.json')"].execute(null, rootDir).text.trim(), "../scripts/autolinking.gradle");
|
||||
useExpoModules()
|
||||
|
3
app.json
3
app.json
@ -35,7 +35,8 @@
|
||||
"adaptiveIcon": {
|
||||
"foregroundImage": "./assets/adaptive-icon.png",
|
||||
"backgroundColor": "#ffffff"
|
||||
}
|
||||
},
|
||||
"package": "android.railbird.app"
|
||||
},
|
||||
"web": {
|
||||
"favicon": "./assets/favicon.png"
|
||||
|
8
index.js
Normal file
8
index.js
Normal file
@ -0,0 +1,8 @@
|
||||
import { registerRootComponent } from 'expo';
|
||||
|
||||
import App from './App';
|
||||
|
||||
// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
|
||||
// It also ensures that whether you load the app in Expo Go or in a native build,
|
||||
// the environment is set up appropriately
|
||||
registerRootComponent(App);
|
@ -734,4 +734,4 @@ SPEC CHECKSUMS:
|
||||
|
||||
PODFILE CHECKSUM: fe3da96ed9108818e45f85fdade1623742df3ab2
|
||||
|
||||
COCOAPODS: 1.12.0
|
||||
COCOAPODS: 1.14.3
|
||||
|
7
metro.config.js
Normal file
7
metro.config.js
Normal file
@ -0,0 +1,7 @@
|
||||
// Learn more https://docs.expo.io/guides/customizing-metro
|
||||
const { getDefaultConfig } = require('expo/metro-config');
|
||||
|
||||
/** @type {import('expo/metro-config').MetroConfig} */
|
||||
const config = getDefaultConfig(__dirname);
|
||||
|
||||
module.exports = config;
|
Loading…
Reference in New Issue
Block a user