Skip to content

Commit

Permalink
Merge pull request #24 from tripleblindmarket/develop
Browse files Browse the repository at this point in the history
April 16
  • Loading branch information
alpita-masurkar authored Apr 16, 2020
2 parents 4173617 + 70c28a6 commit 91c9d59
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 21 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled true
versionCode 20
versionName "0.9.2"
versionCode 21
versionName "0.9.4"
}
splits {
abi {
Expand Down
19 changes: 10 additions & 9 deletions ios/COVIDSafePaths.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -351,16 +351,17 @@
83CBB9F71A601CBA00E9B192 /* Project object */ = {
isa = PBXProject;
attributes = {
CLASSPREFIX = org.pathcheck;
LastUpgradeCheck = 940;
ORGANIZATIONNAME = Facebook;
ORGANIZATIONNAME = "Path Check Inc";
TargetAttributes = {
00E356ED1AD99517003FC87E = {
CreatedOnToolsVersion = 6.2;
DevelopmentTeam = PDLZ3XQV6D;
DevelopmentTeam = 79Z8HUPGC3;
TestTargetID = 13B07F861A680F5B00A75B9A;
};
13B07F861A680F5B00A75B9A = {
DevelopmentTeam = PDLZ3XQV6D;
DevelopmentTeam = 79Z8HUPGC3;
};
};
};
Expand Down Expand Up @@ -577,7 +578,7 @@
baseConfigurationReference = C5CAF9029B3AE69C411463F3 /* Pods-COVIDSafePathsTests.debug.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
DEVELOPMENT_TEAM = PDLZ3XQV6D;
DEVELOPMENT_TEAM = 79Z8HUPGC3;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
Expand All @@ -603,7 +604,7 @@
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
COPY_PHASE_STRIP = NO;
DEVELOPMENT_TEAM = PDLZ3XQV6D;
DEVELOPMENT_TEAM = 79Z8HUPGC3;
HEADER_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = COVIDSafePathsTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
Expand All @@ -625,7 +626,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEAD_CODE_STRIPPING = NO;
DEVELOPMENT_TEAM = PDLZ3XQV6D;
DEVELOPMENT_TEAM = 79Z8HUPGC3;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/GoogleMaps-3.8.0/Base/Frameworks",
Expand Down Expand Up @@ -695,7 +696,7 @@
"-ObjC",
"-lc++",
);
PRODUCT_BUNDLE_IDENTIFIER = org.pathcheck.covidsafepaths;
PRODUCT_BUNDLE_IDENTIFIER = "org.pathcheck.covid-safepaths";
PRODUCT_NAME = COVIDSafePaths;
VERSIONING_SYSTEM = "apple-generic";
};
Expand All @@ -707,7 +708,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = PDLZ3XQV6D;
DEVELOPMENT_TEAM = 79Z8HUPGC3;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/GoogleMaps-3.8.0/Base/Frameworks",
Expand Down Expand Up @@ -777,7 +778,7 @@
"-ObjC",
"-lc++",
);
PRODUCT_BUNDLE_IDENTIFIER = org.pathcheck.covidsafepaths;
PRODUCT_BUNDLE_IDENTIFIER = "org.pathcheck.covid-safepaths";
PRODUCT_NAME = COVIDSafePaths;
VERSIONING_SYSTEM = "apple-generic";
};
Expand Down
5 changes: 3 additions & 2 deletions ios/COVIDSafePaths/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.9.2</string>
<string>0.9.4</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>20</string>
<string>21</string>
<key>LSRequiresIPhoneOS</key>
<true />
<key>NSAppTransportSecurity</key>
Expand Down Expand Up @@ -66,6 +66,7 @@
<array>
<string>fetch</string>
<string>location</string>
<string>processing</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
Expand Down
4 changes: 2 additions & 2 deletions ios/COVIDSafePathsTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>0.9.2</string>
<string>0.9.4</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>20</string>
<string>21</string>
</dict>
</plist>
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "covidsafepaths",
"version": "0.9.2",
"version": "0.9.4",
"private": true,
"scripts": {
"preinstall": "node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('You must use Yarn to install, not NPM')\"",
Expand Down Expand Up @@ -45,7 +45,7 @@
"emotion-theming": "^10.0.27",
"i18next": "^19.3.3",
"js-yaml": "^3.13.1",
"patch-package": "^6.2.1",
"patch-package": "^6.2.2",
"pluralize": "^8.0.0",
"postinstall-postinstall": "^2.0.0",
"prop-types": "^15.7.2",
Expand Down
13 changes: 13 additions & 0 deletions patches/@mauron85+react-native-background-geolocation+0.6.3.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/node_modules/@mauron85/react-native-background-geolocation/android/common/src/main/java/com/marianhello/bgloc/service/LocationServiceImpl.java b/node_modules/@mauron85/react-native-background-geolocation/android/common/src/main/java/com/marianhello/bgloc/service/LocationServiceImpl.java
index 18f1ba1..9bd94a4 100644
--- a/node_modules/@mauron85/react-native-background-geolocation/android/common/src/main/java/com/marianhello/bgloc/service/LocationServiceImpl.java
+++ b/node_modules/@mauron85/react-native-background-geolocation/android/common/src/main/java/com/marianhello/bgloc/service/LocationServiceImpl.java
@@ -269,7 +269,7 @@ public class LocationServiceImpl extends Service implements ProviderDelegate, Lo

@Override
public int onStartCommand(Intent intent, int flags, int startId) {
- if (intent == null) {
+ if (intent == null || !containsCommand(intent)) {
// when service was killed and restarted we will restart service
start();
return START_STICKY;
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7120,10 +7120,10 @@ pascalcase@^0.1.1:
resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14"
integrity sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=

patch-package@^6.2.1:
version "6.2.1"
resolved "https://registry.yarnpkg.com/patch-package/-/patch-package-6.2.1.tgz#e3c55cf09dffd3984dd300e30d842672b604307f"
integrity sha512-dfCtQor63PPij6DDYtCzBRoO5nNAcMSg7Cmh+DLhR+s3t0OLQBdvFxJksZHBe1J2MjsSWDjTF4+oQKFbdkssIg==
patch-package@^6.2.2:
version "6.2.2"
resolved "https://registry.yarnpkg.com/patch-package/-/patch-package-6.2.2.tgz#71d170d650c65c26556f0d0fbbb48d92b6cc5f39"
integrity sha512-YqScVYkVcClUY0v8fF0kWOjDYopzIM8e3bj/RU1DPeEF14+dCGm6UeOYm4jvCyxqIEQ5/eJzmbWfDWnUleFNMg==
dependencies:
"@yarnpkg/lockfile" "^1.1.0"
chalk "^2.4.2"
Expand Down

0 comments on commit 91c9d59

Please sign in to comment.