Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
Release 6.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nzcovidtracer-dev committed Dec 16, 2021
1 parent ee2df0d commit 7c1d755
Show file tree
Hide file tree
Showing 153 changed files with 4,241 additions and 1,140 deletions.
115 changes: 66 additions & 49 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.uniteapprn">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.NFC" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>

<application
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.NFC" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<application
android:name=".MainApplication"
android:allowBackup="false"
android:icon="@mipmap/ic_launcher"
Expand All @@ -16,55 +14,74 @@
android:extractNativeLibs="true"
android:theme="@style/AppTheme"
android:networkSecurityConfig="@xml/network_security_config">
<meta-data android:name="com.dieam.reactnativepushnotification.notification_foreground"
<meta-data android:name="com.dieam.reactnativepushnotification.notification_foreground"
android:value="false"/>
<meta-data android:name="com.dieam.reactnativepushnotification.notification_color"
<meta-data android:name="com.dieam.reactnativepushnotification.notification_color"
android:resource="@color/supernova"/>
<meta-data
<meta-data
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@mipmap/ic_launcher" />

<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationActions" />
<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationPublisher" />
<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationBootEventReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.QUICKBOOT_POWERON" />
<action android:name="com.htc.intent.action.QUICKBOOT_POWERON"/>
</intent-filter>
</receiver>

<service
<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationActions" />
<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationPublisher" />
<receiver
android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationBootEventReceiver"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.QUICKBOOT_POWERON" />
<action android:name="com.htc.intent.action.QUICKBOOT_POWERON"/>
</intent-filter>
</receiver>
<service
android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationListenerService"
android:exported="false" >
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>

<activity
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<activity
android:name=".MainActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
android:label="@string/app_name"
android:launchMode="singleTask"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.nfc.action.NDEF_DISCOVERED"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:scheme="https"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="nzcovidtracer" />
</intent-filter>
</activity>
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
</application>
</manifest>
android:windowSoftInputMode="adjustResize"
android:exported="true"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.nfc.action.NDEF_DISCOVERED"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:scheme="https"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="nzcovidtracer" />
</intent-filter>
<!-- For chrome links -->
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:host="@string/WebAppBaseUrlNoScheme"
android:scheme="https"
android:pathPrefix="/scan"/>
</intent-filter>
<!-- For adb -->
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE" />
<data android:host="@string/WebAppBaseUrlNoScheme"
android:scheme="https"
android:pathPrefix="/scan"/>
</intent-filter>
</activity>
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
</application>
</manifest>
1 change: 1 addition & 0 deletions android/app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:textColor">@color/primaryBlack</item>
<item name="android:windowBackground">@color/primaryBlack</item>
<item name="colorControlNormal">@color/supernova</item>
</style>

<style name="SpinnerDatePickerDialog" parent="android:Theme.Material.Light.Dialog">
Expand Down
9 changes: 6 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@

buildscript {
ext {
buildToolsVersion = "29.0.2"
buildToolsVersion = "30.0.2"
minSdkVersion = 23
compileSdkVersion = 29
targetSdkVersion = 29
compileSdkVersion = 30
targetSdkVersion = 30
firebaseMessagingVersion = "21.1.0"
}
repositories {
google()
mavenCentral()
jcenter()
}
dependencies {
classpath('com.android.tools.build:gradle:4.0.1')
Expand All @@ -29,9 +30,11 @@ allprojects {
// Android JSC is installed from npm
url("$rootDir/../node_modules/jsc-android/dist")
}
maven { url "https://jitpack.io" }

google()
mavenCentral()
jcenter()
flatDir {
dirs "$rootProject.projectDir/libs"
}
Expand Down
6 changes: 6 additions & 0 deletions appcenter-post-clone.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#!/usr/bin/env bash

echo "---------NODE VERSION---------"
source ~/.nvm/nvm.sh
nvm use
nvm install
node -v
echo "---------START YARN INSTALL AND TEST---------"
yarn && yarn test
14 changes: 14 additions & 0 deletions ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,20 @@ target 'UniteAppRN' do
}
end
end

#Workaround for Xcode 12 and Auto-Linking
installer.pods_project.targets.each do |target|
if ['RNSecureKeyStore', 'react-native-splash-screen', 'RNSecureRandom', 'react-native-safe-area-context', 'RNScreens', 'react-native-exposure-notification-service', 'RNKeychain', 'RNIOS11DeviceCheck', 'RNReanimated', 'covidtracer-migration', 'RNDateTimePicker', 'RNBluetoothStateManager', 'RNCMaskedView', 'RNCPushNotificationIOS', 'RealmJS', 'RNGestureHandler', 'RNCAsyncStorage', 'react-native-config', 'React-RCTText'].include?(target.name) #list all affected target in the array
target.build_phases.each do |build_phases|
if build_phases.display_name == 'Frameworks'
file_ref = installer.pods_project.new(Xcodeproj::Project::Object::PBXFileReference)
file_ref.path = 'React.framework'
file_ref.source_tree = 'BUILT_PRODUCTS_DIR'
build_phases.add_file_reference(file_ref)
end
end
end
end
end

permissions_path = '../node_modules/react-native-permissions/ios'
Expand Down
44 changes: 34 additions & 10 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -285,12 +285,18 @@ PODS:
- react-native-config/App (= 1.3.3)
- react-native-config/App (1.3.3):
- React
- react-native-date-picker (3.3.2):
- React-Core
- react-native-document-picker (5.2.0):
- React-Core
- react-native-exposure-notification-service (1.3.2):
- Alamofire (~> 5.2)
- KeychainSwift (~> 19.0)
- React
- SSZipArchive
- react-native-netinfo (5.9.7):
- react-native-file-access (1.7.1):
- React-Core
- react-native-netinfo (6.0.2):
- React-Core
- react-native-safe-area-context (3.1.7):
- React
Expand Down Expand Up @@ -363,14 +369,14 @@ PODS:
- React
- RNCAsyncStorage (1.12.0):
- React
- RNCCheckbox (0.5.8):
- React-Core
- RNCClipboard (1.4.0):
- React-Core
- RNCMaskedView (0.1.10):
- React
- RNCPushNotificationIOS (1.5.0):
- React
- RNDateTimePicker (3.0.2):
- React
- RNDeviceInfo (6.2.1):
- React-Core
- RNFastImage (8.3.4):
Expand Down Expand Up @@ -402,6 +408,8 @@ PODS:
- React
- RNSecureRandom (1.0.0):
- React
- RNShare (7.2.0):
- React-Core
- SDWebImage (5.10.2):
- SDWebImage/Core (= 5.10.2)
- SDWebImage/Core (5.10.2)
Expand Down Expand Up @@ -436,7 +444,10 @@ DEPENDENCIES:
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
- react-native-camera (from `../node_modules/react-native-camera`)
- react-native-config (from `../node_modules/react-native-config`)
- react-native-date-picker (from `../node_modules/react-native-date-picker`)
- react-native-document-picker (from `../node_modules/react-native-document-picker`)
- react-native-exposure-notification-service (from `../node_modules/react-native-exposure-notification-service/react-native-exposure-notification-service.podspec`)
- react-native-file-access (from `../node_modules/react-native-file-access`)
- "react-native-netinfo (from `../node_modules/@react-native-community/netinfo`)"
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
- react-native-splash-screen (from `../node_modules/react-native-splash-screen`)
Expand All @@ -453,10 +464,10 @@ DEPENDENCIES:
- RealmJS (from `../node_modules/realm`)
- RNBluetoothStateManager (from `../node_modules/react-native-bluetooth-state-manager`)
- "RNCAsyncStorage (from `../node_modules/@react-native-community/async-storage`)"
- "RNCCheckbox (from `../node_modules/@react-native-community/checkbox`)"
- "RNCClipboard (from `../node_modules/@react-native-community/clipboard`)"
- "RNCMaskedView (from `../node_modules/@react-native-community/masked-view`)"
- "RNCPushNotificationIOS (from `../node_modules/@react-native-community/push-notification-ios`)"
- "RNDateTimePicker (from `../node_modules/@react-native-community/datetimepicker`)"
- RNDeviceInfo (from `../node_modules/react-native-device-info`)
- RNFastImage (from `../node_modules/react-native-fast-image`)
- "RNFBApp (from `../node_modules/@react-native-firebase/app`)"
Expand All @@ -470,6 +481,7 @@ DEPENDENCIES:
- RNScreens (from `../node_modules/react-native-screens`)
- RNSecureKeyStore (from `../node_modules/react-native-secure-key-store/ios`)
- RNSecureRandom (from `../node_modules/react-native-securerandom`)
- RNShare (from `../node_modules/react-native-share`)
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)

SPEC REPOS:
Expand Down Expand Up @@ -540,8 +552,14 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-camera"
react-native-config:
:path: "../node_modules/react-native-config"
react-native-date-picker:
:path: "../node_modules/react-native-date-picker"
react-native-document-picker:
:path: "../node_modules/react-native-document-picker"
react-native-exposure-notification-service:
:path: "../node_modules/react-native-exposure-notification-service/react-native-exposure-notification-service.podspec"
react-native-file-access:
:path: "../node_modules/react-native-file-access"
react-native-netinfo:
:path: "../node_modules/@react-native-community/netinfo"
react-native-safe-area-context:
Expand Down Expand Up @@ -574,14 +592,14 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-bluetooth-state-manager"
RNCAsyncStorage:
:path: "../node_modules/@react-native-community/async-storage"
RNCCheckbox:
:path: "../node_modules/@react-native-community/checkbox"
RNCClipboard:
:path: "../node_modules/@react-native-community/clipboard"
RNCMaskedView:
:path: "../node_modules/@react-native-community/masked-view"
RNCPushNotificationIOS:
:path: "../node_modules/@react-native-community/push-notification-ios"
RNDateTimePicker:
:path: "../node_modules/@react-native-community/datetimepicker"
RNDeviceInfo:
:path: "../node_modules/react-native-device-info"
RNFastImage:
Expand All @@ -608,6 +626,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-secure-key-store/ios"
RNSecureRandom:
:path: "../node_modules/react-native-securerandom"
RNShare:
:path: "../node_modules/react-native-share"
Yoga:
:path: "../node_modules/react-native/ReactCommon/yoga"

Expand Down Expand Up @@ -651,8 +671,11 @@ SPEC CHECKSUMS:
React-jsinspector: b14e62ebe7a66e9231e9581279909f2fc3db6606
react-native-camera: 35854c4f764a4a6cf61c1c3525888b92f0fe4b31
react-native-config: 9a061347e0136fdb32d43a34d60999297d672361
react-native-date-picker: 96a07ca27a6225da8a3935324d85046028456b0f
react-native-document-picker: f1b5398801b332c77bc62ae0eae2116f49bdff26
react-native-exposure-notification-service: 3c3a7c78baab36fe15dcce33d1183397770c688c
react-native-netinfo: 250dc0ca126512f618a8a2ca6a936577e1f66586
react-native-file-access: 45876d4adfbd429641c207295dfd8c64d770c7b9
react-native-netinfo: 92e6e4476eb8bf6fc2d7c0a6ca0a1406f663d73a
react-native-safe-area-context: 955ecfce672683b495d9294d2f154a9ad1d9796b
react-native-splash-screen: 200d11d188e2e78cea3ad319964f6142b6384865
React-RCTActionSheet: 910163b6b09685a35c4ebbc52b66d1bfbbe39fc5
Expand All @@ -668,10 +691,10 @@ SPEC CHECKSUMS:
RealmJS: 44cd1b81352bbd37f582b5061d5abc1f6c783393
RNBluetoothStateManager: afd3d90feffa2e02bb4f6abad588648840d0f727
RNCAsyncStorage: 2a692bcb9b69b76a2f1a95f33db057129700af64
RNCCheckbox: 6bd119c26c6eb8264a29d59ff66cb70a14de3349
RNCClipboard: a1dd5a278566666ac8f9c9b517b7922c801bcd98
RNCMaskedView: 5a8ec07677aa885546a0d98da336457e2bea557f
RNCPushNotificationIOS: ef00b111c849a9bb5dbc86d40cf91acb8b262772
RNDateTimePicker: a84d2b439666c9243d42a8396c588d4d1d36e3f3
RNDeviceInfo: 9b6aba9ffaed69ecb72bd13c7bcb0debf277bc9f
RNFastImage: d4870d58f5936111c56218dbd7fcfc18e65b58ff
RNFBApp: 2810471bdc092151f20f16a9f8915b1ad70325b2
Expand All @@ -685,11 +708,12 @@ SPEC CHECKSUMS:
RNScreens: b748efec66e095134c7166ca333b628cd7e6f3e2
RNSecureKeyStore: f1ad870e53806453039f650720d2845c678d89c8
RNSecureRandom: 0dcee021fdb3d50cd5cee5db0ebf583c42f5af0e
RNShare: 70356a1bb406bc46ae03196a5d3048c702bb71a7
SDWebImage: b969dcfc02c40a5da71eac0b03b8f1a0c794a86f
SDWebImageWebPCoder: d0dac55073088d24b2ac1b191a71a8f8d0adac21
SSZipArchive: 62d4947b08730e4cda640473b0066d209ff033c9
Yoga: 7740b94929bbacbddda59bf115b5317e9a161598

PODFILE CHECKSUM: 9a46cbeb408836d3fa898d9ed314381af73a92d1
PODFILE CHECKSUM: 53a373c4a837dc7ac4070d97283bbeb76a89bc36

COCOAPODS: 1.10.1
COCOAPODS: 1.11.2
Loading

0 comments on commit 7c1d755

Please sign in to comment.