-
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.
Replaces the React Native CLI bare project with an Expo SDK 50 project. This also supports React Native for Web
- Loading branch information
1 parent
d718aeb
commit a8ee532
Showing
98 changed files
with
14,369 additions
and
6,273 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,34 +44,3 @@ jobs: | |
uses: github/codeql-action/[email protected] | ||
with: | ||
category: "/language:javascript-typescript" | ||
|
||
analyze-ruby: | ||
name: Analyze Ruby | ||
|
||
runs-on: 'ubuntu-latest' | ||
timeout-minutes: 5 | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/[email protected] | ||
with: | ||
languages: 'ruby' | ||
|
||
- name: Autobuild | ||
uses: github/codeql-action/[email protected] | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/[email protected] | ||
with: | ||
category: "/language:ruby" |
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 |
---|---|---|
|
@@ -13,26 +13,28 @@ jobs: | |
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: native_gg | ||
working-directory: native_gg2 | ||
timeout-minutes: 10 | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: 8.14.1 | ||
# - uses: pnpm/[email protected] | ||
# with: | ||
# version: 8.14.1 | ||
- uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' # See 'Supported distributions' for available options | ||
java-version: '21' | ||
|
||
java-version: '17' | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20.11.0 | ||
- name: install dependencies | ||
run: pnpm install --frozen-lockfile | ||
run: npm ci | ||
|
||
# Automatically overrides the version code and version name through the github actions | ||
- name: Bump version | ||
uses: chkfung/[email protected] | ||
with: | ||
gradlePath: native_gg/android/app/build.gradle | ||
gradlePath: native_gg2/android/app/build.gradle | ||
versionCode: ${{github.run_number}} | ||
versionName: '1.0.0' | ||
|
||
|
@@ -47,7 +49,7 @@ jobs: | |
# ID used to access action output | ||
id: sign_app | ||
with: | ||
releaseDirectory: native_gg/android/app/build/outputs/bundle/release | ||
releaseDirectory: native_gg2/android/app/build/outputs/bundle/release | ||
signingKeyBase64: ${{ secrets.SIGNING_KEY }} | ||
alias: ${{ secrets.ALIAS }} | ||
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }} | ||
|
@@ -66,8 +68,8 @@ jobs: | |
with: | ||
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }} | ||
packageName: com.guardianghost | ||
releaseFiles: native_gg/android/app/build/outputs/bundle/release/app-release.aab | ||
whatsNewDirectory: native_gg/android/WhatsNew | ||
releaseFiles: native_gg2/android/app/build/outputs/bundle/release/app-release.aab | ||
whatsNewDirectory: native_gg2/android/WhatsNew | ||
track: internal | ||
# TODO: Change to completed or remove the status line once alpha or beta testing tracks are ready. | ||
status: draft | ||
|
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,68 +1,14 @@ | ||
# OSX | ||
# | ||
.DS_Store | ||
|
||
# Xcode | ||
# | ||
build/ | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
xcuserdata | ||
*.xccheckout | ||
*.moved-aside | ||
DerivedData | ||
*.hmap | ||
*.ipa | ||
*.xcuserstate | ||
ios/.xcode.env.local | ||
|
||
# Android/IntelliJ | ||
# | ||
build/ | ||
.idea | ||
.gradle | ||
local.properties | ||
*.iml | ||
*.hprof | ||
.cxx/ | ||
*.keystore | ||
!debug.keystore | ||
*.aab | ||
*.apk | ||
|
||
# node.js | ||
# | ||
node_modules/ | ||
npm-debug.log | ||
yarn-error.log | ||
|
||
# fastlane | ||
# | ||
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the | ||
# screenshots whenever they are needed. | ||
# For more information about the recommended setup visit: | ||
# https://docs.fastlane.tools/best-practices/source-control/ | ||
|
||
**/fastlane/report.xml | ||
**/fastlane/Preview.html | ||
**/fastlane/screenshots | ||
**/fastlane/test_output | ||
|
||
# Bundle artifact | ||
*.jsbundle | ||
|
||
# Ruby / CocoaPods | ||
/ios/Pods/ | ||
/vendor/bundle/ | ||
|
||
# Temporary files created by Metro to check the health of the file watcher | ||
.metro-health-check* | ||
|
||
# testing | ||
/coverage | ||
.expo/ | ||
dist/ | ||
npm-debug.* | ||
*.jks | ||
*.p8 | ||
*.p12 | ||
*.key | ||
*.mobileprovision | ||
*.orig.* | ||
web-build/ | ||
|
||
# macOS | ||
.DS_Store |
This file was deleted.
Oops, something went wrong.
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,36 @@ | ||
import { StatusBar } from 'expo-status-bar'; | ||
import { StyleSheet, Text, View } from 'react-native'; | ||
import { Image } from 'expo-image'; | ||
import { LinearGradient } from 'expo-linear-gradient'; | ||
|
||
export default function App() { | ||
return ( | ||
<View style={styles.container}> | ||
<LinearGradient | ||
colors={['#232526', '#66686a']} | ||
style={{ position: 'absolute', left: 0, right: 0, top: 0, bottom: 0 }} | ||
/> | ||
|
||
<Image | ||
style={{ width: 200, height: 200 }} | ||
contentFit="contain" | ||
source="https://d33wubrfki0l68.cloudfront.net/554c3b0e09cf167f0281fda839a5433f2040b349/ecfc9/img/header_logo.svg" | ||
/> | ||
|
||
<Text style={{ fontSize: 22, marginTop: 15, color: '#fff' }}> | ||
New Architecture: <Text style={{ fontWeight: 'bold' }}>Enabled</Text> | ||
</Text> | ||
|
||
< StatusBar style="auto" /> | ||
</View> | ||
); | ||
} | ||
|
||
const styles = StyleSheet.create({ | ||
container: { | ||
flex: 1, | ||
backgroundColor: '#fff', | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
}, | ||
}); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.