-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
67 changed files
with
5,127 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,26 @@ | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.gpslinerndemo"> | ||
|
||
<uses-permission android:name="android.permission.INTERNET" /> | ||
|
||
<application | ||
android:name=".MainApplication" | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.gpslinerndemo"> | ||
<uses-permission android:name="android.permission.INTERNET"/> | ||
<application | ||
android:name=".MainApplication" | ||
android:label="@string/app_name" | ||
android:icon="@mipmap/ic_launcher" | ||
android:roundIcon="@mipmap/ic_launcher_round" | ||
android:allowBackup="false" | ||
android:theme="@style/AppTheme" | ||
> | ||
<activity | ||
android:name=".MainActivity" | ||
android:label="@string/app_name" | ||
android:icon="@mipmap/ic_launcher" | ||
android:roundIcon="@mipmap/ic_launcher_round" | ||
android:allowBackup="false" | ||
android:theme="@style/AppTheme"> | ||
<activity | ||
android:name=".MainActivity" | ||
android:label="@string/app_name" | ||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode" | ||
android:launchMode="singleTask" | ||
android:windowSoftInputMode="adjustResize"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" /> | ||
</application> | ||
|
||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode" | ||
android:launchMode="singleTask" | ||
android:windowSoftInputMode="adjustResize" | ||
android:theme="@style/Theme.App.SplashScreen" | ||
> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN"/> | ||
<category android:name="android.intent.category.LAUNCHER"/> | ||
</intent-filter> | ||
</activity> | ||
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity"/> | ||
</application> | ||
</manifest> |
Binary file not shown.
Binary file not shown.
13 changes: 13 additions & 0 deletions
13
android/app/src/main/java/com/gpslinerndemo/MainActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
android/app/src/main/java/com/gpslinerndemo/generated/BasePackageList.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.gpslinerndemo.generated; | ||
|
||
import java.util.Arrays; | ||
import java.util.List; | ||
import org.unimodules.core.interfaces.Package; | ||
|
||
public class BasePackageList { | ||
public List<Package> getPackageList() { | ||
return Arrays.<Package>asList( | ||
new expo.modules.constants.ConstantsPackage(), | ||
new expo.modules.filesystem.FileSystemPackage(), | ||
new expo.modules.font.FontLoaderPackage(), | ||
new expo.modules.imageloader.ImageLoaderPackage(), | ||
new expo.modules.permissions.PermissionsPackage(), | ||
new expo.modules.splashscreen.SplashScreenPackage() | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
This file was created by '@expo/configure-splash-screen' and some of it's content shouldn't be modified by hand | ||
--> | ||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:drawable="@color/splashscreen_background"/> | ||
</layer-list> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<!-- Below line is handled by '@expo/configure-splash-screen' command and it's discouraged to modify it manually --> | ||
<color name="splashscreen_background">#FFFFFF</color> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
<resources> | ||
|
||
<!-- Base application theme. --> | ||
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> | ||
<!-- Customize your theme here. --> | ||
<item name="android:textColor">#000000</item> | ||
</style> | ||
|
||
<!-- Base application theme. --> | ||
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> | ||
<!-- Customize your theme here. --> | ||
<item name="android:textColor">#000000</item> | ||
</style> | ||
<style name="Theme.App.SplashScreen" parent="Theme.AppCompat.Light.NoActionBar"> | ||
<!-- Below line is handled by '@expo/configure-splash-screen' command and it's discouraged to modify it manually --> | ||
<item name="android:windowBackground">@drawable/splashscreen</item> | ||
<!-- Customize your splash screen theme here --> | ||
</style> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
rootProject.name = 'GPSLineRNDemo' | ||
apply from: '../node_modules/react-native-unimodules/gradle.groovy'; includeUnimodulesProjects() | ||
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) | ||
include ':app' |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// @flow | ||
|
||
import variable from './../variables/platform'; | ||
|
||
export default (variables /* : * */ = variable) => { | ||
const badgeTheme = { | ||
'.primary': { | ||
backgroundColor: variables.buttonPrimaryBg | ||
}, | ||
'.warning': { | ||
backgroundColor: variables.buttonWarningBg | ||
}, | ||
'.info': { | ||
backgroundColor: variables.buttonInfoBg | ||
}, | ||
'.success': { | ||
backgroundColor: variables.buttonSuccessBg | ||
}, | ||
'.danger': { | ||
backgroundColor: variables.buttonDangerBg | ||
}, | ||
'NativeBase.Text': { | ||
color: variables.badgeColor, | ||
fontSize: variables.fontSizeBase, | ||
lineHeight: variables.lineHeight - 1, | ||
textAlign: 'center', | ||
paddingHorizontal: 3 | ||
}, | ||
backgroundColor: variables.badgeBg, | ||
padding: variables.badgePadding, | ||
paddingHorizontal: 6, | ||
alignSelf: 'flex-start', | ||
justifyContent: 'center', | ||
borderRadius: 13.5, | ||
height: 27 | ||
}; | ||
return badgeTheme; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// @flow | ||
|
||
export default () => { | ||
const bodyTheme = { | ||
flex: 1, | ||
alignItems: 'center', | ||
alignSelf: 'center' | ||
}; | ||
|
||
return bodyTheme; | ||
}; |
Oops, something went wrong.