Skip to content

Commit

Permalink
Merge pull request #8 from vickiwong85/package-upgrades
Browse files Browse the repository at this point in the history
upgrade packages and remove ios/android builds
  • Loading branch information
vickiwong85 authored Mar 6, 2024
2 parents b5eaf93 + 6dfb515 commit 121aabc
Show file tree
Hide file tree
Showing 15,399 changed files with 2,668,763 additions and 17,246 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
80 changes: 31 additions & 49 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,68 +14,50 @@ npm-debug.*
web-build/
.vscode
coverage
ios/
android/

# macOS
.DS_Store


# @generated expo-cli sync-e7dcf75f4e856f7b6f3239b3f3a7dd614ee755a8
# @generated expo-cli sync-b5df6a44d8735348b729920a7406b633cfb74d4c
# The following patterns were generated by expo-cli

# OSX
#
.DS_Store
# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace
# dependencies
node_modules/

# Android/IntelliJ
#
build/
.idea
.gradle
local.properties
*.iml
*.hprof
# Expo
.expo/
dist/
web-build/

# node.js
#
node_modules/
npm-debug.log
yarn-error.log
# Native
*.orig.*
*.jks
*.p8
*.p12
*.key
*.mobileprovision

# BUCK
buck-out/
\.buckd/
*.keystore
!debug.keystore
# Metro
.metro-health-check*

# Bundle artifacts
*.jsbundle
# debug
npm-debug.*
yarn-debug.*
yarn-error.*

# CocoaPods
/ios/Pods/
# macOS
.DS_Store
*.pem

# Expo
.expo/
web-build/
dist/
# local env files
.env*.local

# typescript
*.tsbuildinfo

# @end expo-cli
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ A React Native app demonstrating HEMS API interactions.
yarn
```

#### Build App Locally
Android:
```
yarn run android
eas build --platform android --local
```
iOS:
```
yarn run ios
eas build --platform ios --local
```

#### Run App Locally
```
yarn start
Expand All @@ -16,4 +28,4 @@ yarn start
You'll need to be authenticated with eas - see the [eas build documentation](https://docs.expo.dev/build/introduction/) for more detail
```
eas build --platform all --profile acceptance --non-interactive
```
```
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
86 changes: 46 additions & 40 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,46 @@
{
"expo": {
"name": "Connecting MHA",
"slug": "connecting-mha-app",
"version": "0.0.7",
"orientation": "portrait",
"owner": "ace-iot",
"icon": "./assets/icon.png",
"privacy": "public",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "cover",
"backgroundColor": "#170B47"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": ["**/*"],
"ios": {
"supportsTablet": true,
"bundleIdentifier": "com.aceiotsolutions.connecting-mha-app"
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/icon.adaptive.foreground.png",
"backgroundImage": "./assets/icon.adaptive.background.png"
},
"versionCode": 7,
"package": "com.aceiotsolutions.connecting_mha_app"
},
"web": {
"favicon": "./assets/favicon.png"
},
"extra": {
"eas": {
"projectId": "b4debb26-532a-47f3-8a70-aaac03231111"
}
}
}
}
{
"expo": {
"name": "Connecting MHA",
"slug": "connecting-mha-app",
"version": "0.0.7",
"orientation": "portrait",
"owner": "ace-iot",
"icon": "./assets/icon.png",
"privacy": "public",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "cover",
"backgroundColor": "#170B47"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true,
"bundleIdentifier": "com.aceiotsolutions.connecting-mha-app"
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/icon.adaptive.foreground.png",
"backgroundImage": "./assets/icon.adaptive.background.png"
},
"versionCode": 7,
"package": "com.aceiotsolutions.connecting_mha_app"
},
"web": {
"favicon": "./assets/favicon.png"
},
"extra": {
"eas": {
"projectId": "b4debb26-532a-47f3-8a70-aaac03231111"
}
},
"plugins": [
"expo-font",
"expo-localization"
]
}
}
13 changes: 8 additions & 5 deletions components/DismissableSwipeResponder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
PanGestureHandlerStateChangeEvent,
PanGestureHandlerEventPayload,
GestureEvent,
GestureHandlerRootView,
} from "react-native-gesture-handler";
import Animated, { withTiming, useAnimatedStyle, useSharedValue } from "react-native-reanimated";
import { MainNavigationProps } from "../types";
Expand Down Expand Up @@ -48,10 +49,12 @@ export function DismissableSwipeResponder({ children }: { children: React.ReactN
};

return (
<PanGestureHandler onGestureEvent={onGesture} onHandlerStateChange={onGestureStateChange}>
<View style={{ flex: 1, backgroundColor: theme.background }}>
<Animated.View style={[{ flex: 1 }, animatedStyle]}>{children}</Animated.View>
</View>
</PanGestureHandler>
<GestureHandlerRootView style={{ flex: 1 }}>
<PanGestureHandler onGestureEvent={onGesture} onHandlerStateChange={onGestureStateChange}>
<View style={{ flex: 1, backgroundColor: theme.background }}>
<Animated.View style={[{ flex: 1 }, animatedStyle]}>{children}</Animated.View>
</View>
</PanGestureHandler>
</GestureHandlerRootView>
);
}
13 changes: 8 additions & 5 deletions components/NavigationSwipeResponder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
PanGestureHandlerStateChangeEvent,
PanGestureHandlerEventPayload,
GestureEvent,
GestureHandlerRootView,
} from "react-native-gesture-handler";
import Animated, { withTiming, useAnimatedStyle, useSharedValue } from "react-native-reanimated";
import { DeviceNavigationProps, DeviceScreenRouteProps } from "../types";
Expand Down Expand Up @@ -78,10 +79,12 @@ export function NavigationSwipeResponder({ children }: { children: React.ReactNo
}

return (
<PanGestureHandler onGestureEvent={onGesture} onHandlerStateChange={onGestureStateChange}>
<View style={{ flex: 1, backgroundColor: theme.background }}>
<Animated.View style={[{ flex: 1 }, animatedStyle]}>{children}</Animated.View>
</View>
</PanGestureHandler>
<GestureHandlerRootView style={{ flex: 1 }}>
<PanGestureHandler onGestureEvent={onGesture} onHandlerStateChange={onGestureStateChange}>
<View style={{ flex: 1, backgroundColor: theme.background }}>
<Animated.View style={[{ flex: 1 }, animatedStyle]}>{children}</Animated.View>
</View>
</PanGestureHandler>
</GestureHandlerRootView>
);
}
1 change: 1 addition & 0 deletions ios.bak/.xcode.env.local
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export NODE_BINARY="/opt/homebrew/Cellar/node/21.6.1/bin/node"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
26 changes: 26 additions & 0 deletions ios.bak/Pods/DoubleConversion/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

54 changes: 54 additions & 0 deletions ios.bak/Pods/DoubleConversion/README

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 121aabc

Please sign in to comment.