Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sdk32 #1

Merged
merged 10 commits into from
Oct 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
5 changes: 4 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"presets": ["babel-preset-expo"],
"env": {
"development": {
"plugins": ["transform-react-jsx-source"]
"plugins": []
},
"production": {
"plugins": ["transform-remove-console"]
}
}
}
12 changes: 12 additions & 0 deletions .expo-shared/assets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"907d8c808585ccb1ccda97bffe4d541038666282ba5e0d4282cc90bf204b4835": true,
"dce6018beed2c2193615493bec95645ba4649f2daa672aa466884580449e02a4": true,
"d9aa6cd460a7339f3147dc32a862b3f8acf576fdc4911a49f6470b75777d2c8b": true,
"943548d26c37d81f633853140c5623d37e70e034c5e073067bce5825e0ce3d10": true,
"4fa4e72a98caaa63817e98a14b54f33038f8770eb643889276c6b4f9da09cb25": true,
"857d31f7797ca14e508de73737cbb2e07b72c2a07e4806cd6f3d4ebfe74d8ea2": true,
"aa37b9c1f59c2635b4623199883b482361284bb790580e58c535550a8e804cfe": true,
"100b28eb4f8d32c566d0365bda62352d38cd20e30c455386b0821bccdd37f2c2": true,
"232701aa5f70eb3a9ea3c8cd14d228c9b7d4bf99a9fd9cfd046752504416942e": true,
"54f60cdfe5e036eb842c9a60c41e27208138623dc0101d88edd6d0bbf561ed27": true
}
7 changes: 5 additions & 2 deletions App.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ import React from "react";
import Nav from "./src/app/App";
import { I18nManager } from "react-native";
import clone from "lodash/clone";
import { registerRootComponent } from 'expo';

export default class App extends React.Component {
class App extends React.Component {
async componentWillMount() {
try {
//I18nManager.swapLeftAndRightInRTL(true)
// if (Platform.OS === "android") await I18nManager.forceRTL(true);
if(!I18nManager.isRTL)
if (!I18nManager.isRTL)
await I18nManager.forceRTL(true);
} catch (e) {
console.warn("RTL Error", e);
Expand All @@ -26,3 +27,5 @@ export default class App extends React.Component {
return <Nav />;
}
}

export default registerRootComponent(App);
18 changes: 11 additions & 7 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,20 @@
"description": "אפליקציה לעידוד התנדבויות בבתי חולים",
"slug": "StartachHapRev",
"version": "1.1.0",
"icon": "./src/images/logo512x512.png",
"sdkVersion": "26.0.0",
"icon": "./src/images/haprev1024.png",
"sdkVersion": "32.0.0",
"entryPoint": "./App.js",
"privacy": "public",
"ios": {
"bundleIdentifier": "com.startach.HapRev"
"bundleIdentifier": "com.startach.HapRevo",
"buildNumber": "10",
"icon": "./src/images/haprev1024.png"
},
"android": {
"versionCode": 10,
"package": "com.startach.HapRev",
"package": "com.startach.HapRevo",
"adaptiveIcon": {
"foregroundImage": "./src/images/logo512x512.png",
"foregroundImage": "./src/images/haprev1024.png",
"backgroundColor": "#FFFFFF"
},
"permissions": [
Expand All @@ -25,8 +28,9 @@
]
},
"notification": {
"icon":"./src/images/logo512x512.png"
"icon":"./src/images/haprev1024.png"
},
"primaryColor":"#FFFFFF"
"primaryColor":"#FFFFFF",
"orientation": "portrait"
}
}
Loading