Skip to content

Commit

Permalink
Merge pull request #8 from Notificare/feature/3.2.0
Browse files Browse the repository at this point in the history
3.2.0
  • Loading branch information
hpinhal committed Jun 15, 2022
2 parents b31630b + 4b60c05 commit f326dc9
Show file tree
Hide file tree
Showing 30 changed files with 126 additions and 97 deletions.
29 changes: 29 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,34 @@
# CHANGELOG

## 3.2.0

#### Native changes

##### Android

- Fix notification content when opening partial inbox items
- Use GMS/HMS `message.sentTime` when creating inbox items
- Log events methods correctly throw when failures are not recoverable
- Improve session control mechanism
- Fix session length
- Fix GMS/HMS token refresh race condition for late configured apps
- Add `InAppBrowser` notification type
- Aliased `WebView` action into `InAppBrowser`, aligning with the notification type
- Ensure listeners are called on the main thread
- Allow non-ASCII header values

##### iOS

- Fix notification content when opening partial inbox items
- Fix marking partial items as read
- Improve ISO date parser
- Add safeguards and warnings for corrupted items in the inbox database
- Log events methods correctly throw when failures are not recoverable
- Improve session control mechanism
- Add `InAppBrowser` notification type
- Aliased `WebView` action into `InAppBrowser`, aligning with the notification type
- Ensure delegate methods are called on the main thread

## 3.1.0

- Include complete remote message information in unknown notification events
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
@@ -1,5 +1,5 @@
{
"version": "3.1.0",
"version": "3.2.0",
"npmClient": "yarn",
"packages": [
"packages/*"
Expand Down
Expand Up @@ -120,7 +120,7 @@ dependencies {
// noinspection GradleDynamicVersion
api 'com.facebook.react:react-native:+'

def notificare_version = '3.1.0'
def notificare_version = '3.2.0'
api "re.notifica:notificare:$notificare_version"
api "re.notifica:notificare-assets:$notificare_version"
}
6 changes: 3 additions & 3 deletions packages/react-native-notificare-assets/package.json
@@ -1,6 +1,6 @@
{
"name": "react-native-notificare-assets",
"version": "3.1.0",
"version": "3.2.0",
"description": "Notificare Assets React Native module.",
"author": "Notificare <info@notifica.re> (https://notificare.com)",
"license": "MIT",
Expand Down Expand Up @@ -50,14 +50,14 @@
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-notificare": "3.1.0"
"react-native-notificare": "3.2.0"
},
"devDependencies": {
"@types/react-native": "^0.66.4",
"react": "17.0.2",
"react-native": "0.67.4",
"react-native-builder-bob": "^0.18.0",
"react-native-notificare": "3.1.0",
"react-native-notificare": "3.2.0",
"typescript": "^4.5.0"
},
"react-native-builder-bob": {
Expand Down
Expand Up @@ -17,6 +17,6 @@ Pod::Spec.new do |s|
s.source_files = "ios/**/*.{h,m,mm,swift}"

s.dependency 'React-Core'
s.dependency 'Notificare/NotificareKit', '3.1.0'
s.dependency 'Notificare/NotificareAssetsKit', '3.1.0'
s.dependency 'Notificare/NotificareKit', '3.2.0'
s.dependency 'Notificare/NotificareAssetsKit', '3.2.0'
end
Expand Up @@ -120,7 +120,7 @@ dependencies {
// noinspection GradleDynamicVersion
api 'com.facebook.react:react-native:+'

def notificare_version = '3.1.0'
def notificare_version = '3.2.0'
api "re.notifica:notificare:$notificare_version"
api "re.notifica:notificare-authentication:$notificare_version"
}
6 changes: 3 additions & 3 deletions packages/react-native-notificare-authentication/package.json
@@ -1,6 +1,6 @@
{
"name": "react-native-notificare-authentication",
"version": "3.1.0",
"version": "3.2.0",
"description": "Notificare Authentication React Native module.",
"author": "Notificare <info@notifica.re> (https://notificare.com)",
"license": "MIT",
Expand Down Expand Up @@ -50,14 +50,14 @@
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-notificare": "3.1.0"
"react-native-notificare": "3.2.0"
},
"devDependencies": {
"@types/react-native": "^0.66.4",
"react": "17.0.2",
"react-native": "0.67.4",
"react-native-builder-bob": "^0.18.0",
"react-native-notificare": "3.1.0",
"react-native-notificare": "3.2.0",
"typescript": "^4.5.0"
},
"react-native-builder-bob": {
Expand Down
Expand Up @@ -17,6 +17,6 @@ Pod::Spec.new do |s|
s.source_files = "ios/**/*.{h,m,mm,swift}"

s.dependency 'React-Core'
s.dependency 'Notificare/NotificareKit', '3.1.0'
s.dependency 'Notificare/NotificareAuthenticationKit', '3.1.0'
s.dependency 'Notificare/NotificareKit', '3.2.0'
s.dependency 'Notificare/NotificareAuthenticationKit', '3.2.0'
end
2 changes: 1 addition & 1 deletion packages/react-native-notificare-geo/android/build.gradle
Expand Up @@ -120,7 +120,7 @@ dependencies {
// noinspection GradleDynamicVersion
api 'com.facebook.react:react-native:+'

def notificare_version = '3.1.0'
def notificare_version = '3.2.0'
api "re.notifica:notificare:$notificare_version"
api "re.notifica:notificare-geo:$notificare_version"
implementation "re.notifica:notificare-geo-gms:$notificare_version"
Expand Down
6 changes: 3 additions & 3 deletions packages/react-native-notificare-geo/package.json
@@ -1,6 +1,6 @@
{
"name": "react-native-notificare-geo",
"version": "3.1.0",
"version": "3.2.0",
"description": "Notificare Geo React Native module.",
"author": "Notificare <info@notifica.re> (https://notificare.com)",
"license": "MIT",
Expand Down Expand Up @@ -50,14 +50,14 @@
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-notificare": "3.1.0"
"react-native-notificare": "3.2.0"
},
"devDependencies": {
"@types/react-native": "^0.66.4",
"react": "17.0.2",
"react-native": "0.67.4",
"react-native-builder-bob": "^0.18.0",
"react-native-notificare": "3.1.0",
"react-native-notificare": "3.2.0",
"typescript": "^4.5.0"
},
"react-native-builder-bob": {
Expand Down
Expand Up @@ -17,6 +17,6 @@ Pod::Spec.new do |s|
s.source_files = "ios/**/*.{h,m,mm,swift}"

s.dependency 'React-Core'
s.dependency 'Notificare/NotificareKit', '3.1.0'
s.dependency 'Notificare/NotificareGeoKit', '3.1.0'
s.dependency 'Notificare/NotificareKit', '3.2.0'
s.dependency 'Notificare/NotificareGeoKit', '3.2.0'
end
Expand Up @@ -120,7 +120,7 @@ dependencies {
// noinspection GradleDynamicVersion
api 'com.facebook.react:react-native:+'

def notificare_version = '3.1.0'
def notificare_version = '3.2.0'
api "re.notifica:notificare:$notificare_version"
api "re.notifica:notificare-inbox:$notificare_version"
}
6 changes: 3 additions & 3 deletions packages/react-native-notificare-inbox/package.json
@@ -1,6 +1,6 @@
{
"name": "react-native-notificare-inbox",
"version": "3.1.0",
"version": "3.2.0",
"description": "Notificare Inbox React Native module.",
"author": "Notificare <info@notifica.re> (https://notificare.com)",
"license": "MIT",
Expand Down Expand Up @@ -50,14 +50,14 @@
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-notificare": "3.1.0"
"react-native-notificare": "3.2.0"
},
"devDependencies": {
"@types/react-native": "^0.66.4",
"react": "17.0.2",
"react-native": "0.67.4",
"react-native-builder-bob": "^0.18.0",
"react-native-notificare": "3.1.0",
"react-native-notificare": "3.2.0",
"typescript": "^4.5.0"
},
"react-native-builder-bob": {
Expand Down
Expand Up @@ -17,6 +17,6 @@ Pod::Spec.new do |s|
s.source_files = "ios/**/*.{h,m,mm,swift}"

s.dependency 'React-Core'
s.dependency 'Notificare/NotificareKit', '3.1.0'
s.dependency 'Notificare/NotificareInboxKit', '3.1.0'
s.dependency 'Notificare/NotificareKit', '3.2.0'
s.dependency 'Notificare/NotificareInboxKit', '3.2.0'
end
Expand Up @@ -120,7 +120,7 @@ dependencies {
// noinspection GradleDynamicVersion
api 'com.facebook.react:react-native:+'

def notificare_version = '3.1.0'
def notificare_version = '3.2.0'
api "re.notifica:notificare:$notificare_version"
api "re.notifica:notificare-loyalty:$notificare_version"
}
6 changes: 3 additions & 3 deletions packages/react-native-notificare-loyalty/package.json
@@ -1,6 +1,6 @@
{
"name": "react-native-notificare-loyalty",
"version": "3.1.0",
"version": "3.2.0",
"description": "Notificare Loyalty React Native module.",
"author": "Notificare <info@notifica.re> (https://notificare.com)",
"license": "MIT",
Expand Down Expand Up @@ -50,14 +50,14 @@
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-notificare": "3.1.0"
"react-native-notificare": "3.2.0"
},
"devDependencies": {
"@types/react-native": "^0.66.4",
"react": "17.0.2",
"react-native": "0.67.4",
"react-native-builder-bob": "^0.18.0",
"react-native-notificare": "3.1.0",
"react-native-notificare": "3.2.0",
"typescript": "^4.5.0"
},
"react-native-builder-bob": {
Expand Down
Expand Up @@ -17,6 +17,6 @@ Pod::Spec.new do |s|
s.source_files = "ios/**/*.{h,m,mm,swift}"

s.dependency 'React-Core'
s.dependency 'Notificare/NotificareKit', '3.1.0'
s.dependency 'Notificare/NotificareLoyaltyKit', '3.1.0'
s.dependency 'Notificare/NotificareKit', '3.2.0'
s.dependency 'Notificare/NotificareLoyaltyKit', '3.2.0'
end
Expand Up @@ -121,7 +121,7 @@ dependencies {
// noinspection GradleDynamicVersion
api 'com.facebook.react:react-native:+'

def notificare_version = '3.1.0'
def notificare_version = '3.2.0'
api "re.notifica:notificare:$notificare_version"
api "re.notifica:notificare-push-ui:$notificare_version"
implementation "re.notifica:notificare-push-ui-gms:$notificare_version"
Expand Down
6 changes: 3 additions & 3 deletions packages/react-native-notificare-push-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "react-native-notificare-push-ui",
"version": "3.1.0",
"version": "3.2.0",
"description": "Notificare Push UI React Native module.",
"author": "Notificare <info@notifica.re> (https://notificare.com)",
"license": "MIT",
Expand Down Expand Up @@ -50,14 +50,14 @@
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-notificare": "3.1.0"
"react-native-notificare": "3.2.0"
},
"devDependencies": {
"@types/react-native": "^0.66.4",
"react": "17.0.2",
"react-native": "0.67.4",
"react-native-builder-bob": "^0.18.0",
"react-native-notificare": "3.1.0",
"react-native-notificare": "3.2.0",
"typescript": "^4.5.0"
},
"react-native-builder-bob": {
Expand Down
Expand Up @@ -17,6 +17,6 @@ Pod::Spec.new do |s|
s.source_files = "ios/**/*.{h,m,mm,swift}"

s.dependency 'React-Core'
s.dependency 'Notificare/NotificareKit', '3.1.0'
s.dependency 'Notificare/NotificarePushUIKit', '3.1.0'
s.dependency 'Notificare/NotificareKit', '3.2.0'
s.dependency 'Notificare/NotificarePushUIKit', '3.2.0'
end
2 changes: 1 addition & 1 deletion packages/react-native-notificare-push/android/build.gradle
Expand Up @@ -121,7 +121,7 @@ dependencies {
// noinspection GradleDynamicVersion
api 'com.facebook.react:react-native:+'

def notificare_version = '3.1.0'
def notificare_version = '3.2.0'
api "re.notifica:notificare:$notificare_version"
api "re.notifica:notificare-push:$notificare_version"
implementation "re.notifica:notificare-push-gms:$notificare_version"
Expand Down
6 changes: 3 additions & 3 deletions packages/react-native-notificare-push/package.json
@@ -1,6 +1,6 @@
{
"name": "react-native-notificare-push",
"version": "3.1.0",
"version": "3.2.0",
"description": "Notificare Push React Native module.",
"author": "Notificare <info@notifica.re> (https://notificare.com)",
"license": "MIT",
Expand Down Expand Up @@ -50,14 +50,14 @@
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-notificare": "3.1.0"
"react-native-notificare": "3.2.0"
},
"devDependencies": {
"@types/react-native": "^0.66.4",
"react": "17.0.2",
"react-native": "0.67.4",
"react-native-builder-bob": "^0.18.0",
"react-native-notificare": "3.1.0",
"react-native-notificare": "3.2.0",
"typescript": "^4.5.0"
},
"react-native-builder-bob": {
Expand Down
Expand Up @@ -17,6 +17,6 @@ Pod::Spec.new do |s|
s.source_files = "ios/**/*.{h,m,mm,swift}"

s.dependency 'React-Core'
s.dependency 'Notificare/NotificareKit', '3.1.0'
s.dependency 'Notificare/NotificarePushKit', '3.1.0'
s.dependency 'Notificare/NotificareKit', '3.2.0'
s.dependency 'Notificare/NotificarePushKit', '3.2.0'
end
Expand Up @@ -121,7 +121,7 @@ dependencies {
// noinspection GradleDynamicVersion
api 'com.facebook.react:react-native:+'

def notificare_version = '3.1.0'
def notificare_version = '3.2.0'
api "re.notifica:notificare:$notificare_version"
api "re.notifica:notificare-scannables:$notificare_version"
implementation "re.notifica:notificare-scannables-gms:$notificare_version"
Expand Down
6 changes: 3 additions & 3 deletions packages/react-native-notificare-scannables/package.json
@@ -1,6 +1,6 @@
{
"name": "react-native-notificare-scannables",
"version": "3.1.0",
"version": "3.2.0",
"description": "Notificare Scannables React Native module.",
"author": "Notificare <info@notifica.re> (https://notificare.com)",
"license": "MIT",
Expand Down Expand Up @@ -50,14 +50,14 @@
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-notificare": "3.1.0"
"react-native-notificare": "3.2.0"
},
"devDependencies": {
"@types/react-native": "^0.66.4",
"react": "17.0.2",
"react-native": "0.67.4",
"react-native-builder-bob": "^0.18.0",
"react-native-notificare": "3.1.0",
"react-native-notificare": "3.2.0",
"typescript": "^4.5.0"
},
"react-native-builder-bob": {
Expand Down
Expand Up @@ -17,6 +17,6 @@ Pod::Spec.new do |s|
s.source_files = "ios/**/*.{h,m,mm,swift}"

s.dependency 'React-Core'
s.dependency 'Notificare/NotificareKit', '3.1.0'
s.dependency 'Notificare/NotificareScannablesKit', '3.1.0'
s.dependency 'Notificare/NotificareKit', '3.2.0'
s.dependency 'Notificare/NotificareScannablesKit', '3.2.0'
end
2 changes: 1 addition & 1 deletion packages/react-native-notificare/android/build.gradle
Expand Up @@ -120,6 +120,6 @@ dependencies {
// noinspection GradleDynamicVersion
api 'com.facebook.react:react-native:+'

def notificare_version = '3.1.0'
def notificare_version = '3.2.0'
api "re.notifica:notificare:$notificare_version"
}

0 comments on commit f326dc9

Please sign in to comment.