From 2b0e3f0a212ffcfd5b5ec69f86bb42b3098a9d6c Mon Sep 17 00:00:00 2001 From: Tom Watson Date: Wed, 2 Oct 2024 09:58:30 -0700 Subject: [PATCH] 5.8.2 release (#805) --- CHANGELOG | 16 ++++++++++++++ android/app/build.gradle | 4 ++-- android/app/src/main/AndroidManifest.xml | 7 ++++-- ...tion.png => ic_stat_onesignal_default.png} | Bin ...tion.png => ic_stat_onesignal_default.png} | Bin ...tion.png => ic_stat_onesignal_default.png} | Bin ...tion.png => ic_stat_onesignal_default.png} | Bin ...tion.png => ic_stat_onesignal_default.png} | Bin ios/HyloReactNative.xcodeproj/project.pbxproj | 4 ++-- ios/HyloReactNative/Info.plist | 20 +++++++++--------- ios/HyloReactNativeTests/Info.plist | 4 ++-- .../Info.plist | 4 ++-- package.json | 2 +- src/components/SocialAuth/AppleLoginButton.js | 7 +++--- 14 files changed, 44 insertions(+), 24 deletions(-) rename android/app/src/main/res/drawable-hdpi/{ic_notification.png => ic_stat_onesignal_default.png} (100%) rename android/app/src/main/res/drawable-mdpi/{ic_notification.png => ic_stat_onesignal_default.png} (100%) rename android/app/src/main/res/drawable-xhdpi/{ic_notification.png => ic_stat_onesignal_default.png} (100%) rename android/app/src/main/res/drawable-xxhdpi/{ic_notification.png => ic_stat_onesignal_default.png} (100%) rename android/app/src/main/res/drawable-xxxhdpi/{ic_notification.png => ic_stat_onesignal_default.png} (100%) diff --git a/CHANGELOG b/CHANGELOG index f40a42e2c..736771bbd 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -4,6 +4,22 @@ All notable changes to HyloReactNative (the Hylo mobile app) will be documented The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +### [5.8.2] - 2024-09-27 + +- Fix missing function call blocking Apple account login +- Android icon fix + +### [5.8.1] - 2024-09-10 + +- Fix android push notification icon +- child/parent group bug-fix + +### [5.8.0] - 2024-09-05 + +- Add code of conduct, contribution guide and full license details +- i18n bug-fix for location search +- Update numerous dependencies + ### [5.7.0] - 2024-07-15 - Add 'responsibilties' in place of 'moderators' diff --git a/android/app/build.gradle b/android/app/build.gradle index 9a13bd93c..014f14706 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -87,8 +87,8 @@ android { applicationId "com.hylo.hyloandroid" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 287 - versionName "5.7.1" + versionCode 290 + versionName "5.8.2" } signingConfigs { debug { diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 121149258..e2fd38f44 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -25,9 +25,12 @@ + + android:name="com.onesignal.NotificationAccentColor.DEFAULT" + android:value="FFFFFF" /> CFBundlePackageType APPL CFBundleShortVersionString - 5.7.1 + 5.8.2 CFBundleSignature ???? CFBundleURLTypes @@ -40,7 +40,7 @@ CFBundleTypeRole Editor CFBundleURLIconFile - + CFBundleURLName hyloapp CFBundleURLSchemes @@ -50,26 +50,26 @@ CFBundleVersion - 209 + 212 NSAppTransportSecurity NSAllowsArbitraryLoads - + NSAllowsLocalNetworking - + FacebookAdvertiserIDCollectionEnabled - + FacebookAppID $(FACEBOOK_APP_ID) FacebookAutoLogAppEventsEnabled - + FacebookClientToken $(FACEBOOK_CLIENT_TOKEN) FacebookDisplayName Hylo ITSAppUsesNonExemptEncryption - + LSApplicationQueriesSchemes fbapi @@ -78,7 +78,7 @@ fbshareextension LSRequiresIPhoneOS - + NSLocationAlwaysAndWhenInUseUsageDescription Allow access to your current location to center the map feature, searches, and location selection when creating a post. Background access is optional and used for notifications of nearby resources when the app is in the background NSLocationWhenInUseUsageDescription @@ -134,6 +134,6 @@ UIUserInterfaceStyle Light UIViewControllerBasedStatusBarAppearance - + diff --git a/ios/HyloReactNativeTests/Info.plist b/ios/HyloReactNativeTests/Info.plist index 7d7a14c63..e947f4274 100644 --- a/ios/HyloReactNativeTests/Info.plist +++ b/ios/HyloReactNativeTests/Info.plist @@ -15,10 +15,10 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 5.7.1 + 5.8.2 CFBundleSignature ???? CFBundleVersion - 209 + 212 diff --git a/ios/OneSignalNotificationServiceExtension/Info.plist b/ios/OneSignalNotificationServiceExtension/Info.plist index 08e2ecdce..415d67ce4 100644 --- a/ios/OneSignalNotificationServiceExtension/Info.plist +++ b/ios/OneSignalNotificationServiceExtension/Info.plist @@ -17,9 +17,9 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 5.7.1 + 5.8.2 CFBundleVersion - 209 + 212 NSExtension NSExtensionPointIdentifier diff --git a/package.json b/package.json index 1673d2980..541b14c89 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "HyloReactNative", - "version": "5.7.1", + "version": "5.8.2", "private": true, "scripts": { "android": "adb reverse tcp:3001 tcp:3001 && adb reverse tcp:3000 tcp:3000 && react-native run-android", diff --git a/src/components/SocialAuth/AppleLoginButton.js b/src/components/SocialAuth/AppleLoginButton.js index 9c2b1e381..681e0dce4 100644 --- a/src/components/SocialAuth/AppleLoginButton.js +++ b/src/components/SocialAuth/AppleLoginButton.js @@ -4,9 +4,9 @@ import { useTranslation } from 'react-i18next' export async function onAppleButtonPress ({ authorizedCallback, - createErrorNotification + createErrorNotification, + t }) { - const { t } = useTranslation() // performs login request try { const appleAuthRequestResponse = await appleAuth.performRequest({ @@ -62,7 +62,8 @@ export default function AppleLoginButton ({ style={style} onPress={() => onAppleButtonPress({ authorizedCallback: onLoginFinished, - createErrorNotification + createErrorNotification, + t })} /> )