Skip to content

Commit

Permalink
Merge pull request #47 from Notificare/release/3.6.1
Browse files Browse the repository at this point in the history
3.6.1
  • Loading branch information
hpinhal committed Sep 13, 2023
2 parents 3469ead + 66a4622 commit 438282a
Show file tree
Hide file tree
Showing 47 changed files with 102 additions and 87 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# CHANGELOG

## 3.6.1

- Fix custom action received event

#### Native changes

##### Android

- Fix race condition when synchronising monitored regions

##### iOS

- Fix race condition when setting the database merge policy eagerly loads the data stores
- Prevent fatal error when failing to open the databases

## 3.6.0

- Fix `updateUserData` return type
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "3.6.0",
"version": "3.6.1",
"npmClient": "yarn",
"packages": [
"packages/*"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
notificare_version = '3.6.0'
notificare_version = '3.6.1'

Pod::Spec.new do |s|
s.name = 'CapacitorNotificareAssets'
Expand Down
2 changes: 1 addition & 1 deletion packages/capacitor-notificare-assets/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation project(':capacitor-android')

def notificare_version = '3.6.0'
def notificare_version = '3.6.1'
api "re.notifica:notificare:$notificare_version"
api "re.notifica:notificare-assets:$notificare_version"
}
4 changes: 2 additions & 2 deletions packages/capacitor-notificare-assets/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ def capacitor_pods
pod 'Capacitor', :path => '../node_modules/@capacitor/ios'
pod 'CapacitorCordova', :path => '../node_modules/@capacitor/ios'

pod 'Notificare/NotificareKit', '3.6.0'
pod 'Notificare/NotificareAssetsKit', '3.6.0'
pod 'Notificare/NotificareKit', '3.6.1'
pod 'Notificare/NotificareAssetsKit', '3.6.1'
end

target 'Plugin' do
Expand Down
8 changes: 4 additions & 4 deletions packages/capacitor-notificare-assets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "capacitor-notificare-assets",
"version": "3.6.0",
"version": "3.6.1",
"description": "Notificare Assets Capacitor plugin.",
"author": "Notificare <info@notifica.re> (https://notificare.com)",
"license": "MIT",
Expand Down Expand Up @@ -49,15 +49,15 @@
"docs:replace-symbolic-links": "rm README.md CHANGELOG.md MIGRATION.md; cp ../../README.md ../../CHANGELOG.md ../../MIGRATION.md ."
},
"peerDependencies": {
"@capacitor/core": "^3.0.0",
"capacitor-notificare": "3.6.0"
"@capacitor/core": "3 - 5",
"capacitor-notificare": "3.6.1"
},
"devDependencies": {
"@capacitor/android": "^3.0.0",
"@capacitor/core": "^3.0.0",
"@capacitor/docgen": "^0.0.18",
"@capacitor/ios": "^3.0.0",
"capacitor-notificare": "3.6.0",
"capacitor-notificare": "3.6.1",
"rimraf": "^3.0.2",
"rollup": "^2.32.0",
"typescript": "^4.5.4"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
notificare_version = '3.6.0'
notificare_version = '3.6.1'

Pod::Spec.new do |s|
s.name = 'CapacitorNotificareGeo'
Expand Down
2 changes: 1 addition & 1 deletion packages/capacitor-notificare-geo/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ dependencies {

implementation 'androidx.appcompat:appcompat:1.5.1'

def notificare_version = '3.6.0'
def notificare_version = '3.6.1'
api "re.notifica:notificare:$notificare_version"
api "re.notifica:notificare-geo:$notificare_version"
implementation "re.notifica:notificare-geo-gms:$notificare_version"
Expand Down
4 changes: 2 additions & 2 deletions packages/capacitor-notificare-geo/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ def capacitor_pods
pod 'Capacitor', :path => '../node_modules/@capacitor/ios'
pod 'CapacitorCordova', :path => '../node_modules/@capacitor/ios'

pod 'Notificare/NotificareKit', '3.6.0'
pod 'Notificare/NotificareGeoKit', '3.6.0'
pod 'Notificare/NotificareKit', '3.6.1'
pod 'Notificare/NotificareGeoKit', '3.6.1'
end

target 'Plugin' do
Expand Down
8 changes: 4 additions & 4 deletions packages/capacitor-notificare-geo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "capacitor-notificare-geo",
"version": "3.6.0",
"version": "3.6.1",
"description": "Notificare Geo Capacitor plugin.",
"author": "Notificare <info@notifica.re> (https://notificare.com)",
"license": "MIT",
Expand Down Expand Up @@ -49,15 +49,15 @@
"docs:replace-symbolic-links": "rm README.md CHANGELOG.md MIGRATION.md; cp ../../README.md ../../CHANGELOG.md ../../MIGRATION.md ."
},
"peerDependencies": {
"@capacitor/core": "^3.0.0",
"capacitor-notificare": "3.6.0"
"@capacitor/core": "3 - 5",
"capacitor-notificare": "3.6.1"
},
"devDependencies": {
"@capacitor/android": "^3.0.0",
"@capacitor/core": "^3.0.0",
"@capacitor/docgen": "^0.0.18",
"@capacitor/ios": "^3.0.0",
"capacitor-notificare": "3.6.0",
"capacitor-notificare": "3.6.1",
"rimraf": "^3.0.2",
"rollup": "^2.32.0",
"typescript": "^4.5.4"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
notificare_version = '3.6.0'
notificare_version = '3.6.1'

Pod::Spec.new do |s|
s.name = 'CapacitorNotificareInAppMessaging'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ dependencies {

implementation 'androidx.appcompat:appcompat:1.5.1'

def notificare_version = '3.6.0'
def notificare_version = '3.6.1'
api "re.notifica:notificare:$notificare_version"
api "re.notifica:notificare-in-app-messaging:$notificare_version"
}
4 changes: 2 additions & 2 deletions packages/capacitor-notificare-in-app-messaging/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ def capacitor_pods
pod 'Capacitor', :path => '../node_modules/@capacitor/ios'
pod 'CapacitorCordova', :path => '../node_modules/@capacitor/ios'

pod 'Notificare/NotificareKit', '3.6.0'
pod 'Notificare/NotificareInAppMessagingKit', '3.6.0'
pod 'Notificare/NotificareKit', '3.6.1'
pod 'Notificare/NotificareInAppMessagingKit', '3.6.1'
end

target 'Plugin' do
Expand Down
8 changes: 4 additions & 4 deletions packages/capacitor-notificare-in-app-messaging/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "capacitor-notificare-in-app-messaging",
"version": "3.6.0",
"version": "3.6.1",
"description": "Notificare In-App Messaging Capacitor plugin.",
"author": "Notificare <info@notifica.re> (https://notificare.com)",
"license": "MIT",
Expand Down Expand Up @@ -49,15 +49,15 @@
"docs:replace-symbolic-links": "rm README.md CHANGELOG.md MIGRATION.md; cp ../../README.md ../../CHANGELOG.md ../../MIGRATION.md ."
},
"peerDependencies": {
"@capacitor/core": "^3.0.0",
"capacitor-notificare": "3.6.0"
"@capacitor/core": "3 - 5",
"capacitor-notificare": "3.6.1"
},
"devDependencies": {
"@capacitor/android": "^3.0.0",
"@capacitor/core": "^3.0.0",
"@capacitor/docgen": "^0.0.18",
"@capacitor/ios": "^3.0.0",
"capacitor-notificare": "3.6.0",
"capacitor-notificare": "3.6.1",
"rimraf": "^3.0.2",
"rollup": "^2.32.0",
"typescript": "^4.5.4"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
notificare_version = '3.6.0'
notificare_version = '3.6.1'

Pod::Spec.new do |s|
s.name = 'CapacitorNotificareInbox'
Expand Down
2 changes: 1 addition & 1 deletion packages/capacitor-notificare-inbox/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ dependencies {

implementation 'androidx.lifecycle:lifecycle-livedata-core-ktx:2.5.1'

def notificare_version = '3.6.0'
def notificare_version = '3.6.1'
api "re.notifica:notificare:$notificare_version"
api "re.notifica:notificare-inbox:$notificare_version"
}
4 changes: 2 additions & 2 deletions packages/capacitor-notificare-inbox/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ def capacitor_pods
pod 'Capacitor', :path => '../node_modules/@capacitor/ios'
pod 'CapacitorCordova', :path => '../node_modules/@capacitor/ios'

pod 'Notificare/NotificareKit', '3.6.0'
pod 'Notificare/NotificareInboxKit', '3.6.0'
pod 'Notificare/NotificareKit', '3.6.1'
pod 'Notificare/NotificareInboxKit', '3.6.1'
end

target 'Plugin' do
Expand Down
8 changes: 4 additions & 4 deletions packages/capacitor-notificare-inbox/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "capacitor-notificare-inbox",
"version": "3.6.0",
"version": "3.6.1",
"description": "Notificare Inbox Capacitor plugin.",
"author": "Notificare <info@notifica.re> (https://notificare.com)",
"license": "MIT",
Expand Down Expand Up @@ -49,15 +49,15 @@
"docs:replace-symbolic-links": "rm README.md CHANGELOG.md MIGRATION.md; cp ../../README.md ../../CHANGELOG.md ../../MIGRATION.md ."
},
"peerDependencies": {
"@capacitor/core": "^3.0.0",
"capacitor-notificare": "3.6.0"
"@capacitor/core": "3 - 5",
"capacitor-notificare": "3.6.1"
},
"devDependencies": {
"@capacitor/android": "^3.0.0",
"@capacitor/core": "^3.0.0",
"@capacitor/docgen": "^0.0.18",
"@capacitor/ios": "^3.0.0",
"capacitor-notificare": "3.6.0",
"capacitor-notificare": "3.6.1",
"rimraf": "^3.0.2",
"rollup": "^2.32.0",
"typescript": "^4.5.4"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
notificare_version = '3.6.0'
notificare_version = '3.6.1'

Pod::Spec.new do |s|
s.name = 'CapacitorNotificareLoyalty'
Expand Down
2 changes: 1 addition & 1 deletion packages/capacitor-notificare-loyalty/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ dependencies {

implementation 'androidx.appcompat:appcompat:1.5.1'

def notificare_version = '3.6.0'
def notificare_version = '3.6.1'
api "re.notifica:notificare:$notificare_version"
api "re.notifica:notificare-loyalty:$notificare_version"
}
4 changes: 2 additions & 2 deletions packages/capacitor-notificare-loyalty/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ def capacitor_pods
pod 'Capacitor', :path => '../node_modules/@capacitor/ios'
pod 'CapacitorCordova', :path => '../node_modules/@capacitor/ios'

pod 'Notificare/NotificareKit', '3.6.0'
pod 'Notificare/NotificareLoyaltyKit', '3.6.0'
pod 'Notificare/NotificareKit', '3.6.1'
pod 'Notificare/NotificareLoyaltyKit', '3.6.1'
end

target 'Plugin' do
Expand Down
8 changes: 4 additions & 4 deletions packages/capacitor-notificare-loyalty/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "capacitor-notificare-loyalty",
"version": "3.6.0",
"version": "3.6.1",
"description": "Notificare Loyalty Capacitor plugin.",
"author": "Notificare <info@notifica.re> (https://notificare.com)",
"license": "MIT",
Expand Down Expand Up @@ -49,15 +49,15 @@
"docs:replace-symbolic-links": "rm README.md CHANGELOG.md MIGRATION.md; cp ../../README.md ../../CHANGELOG.md ../../MIGRATION.md ."
},
"peerDependencies": {
"@capacitor/core": "^3.0.0",
"capacitor-notificare": "3.6.0"
"@capacitor/core": "3 - 5",
"capacitor-notificare": "3.6.1"
},
"devDependencies": {
"@capacitor/android": "^3.0.0",
"@capacitor/core": "^3.0.0",
"@capacitor/docgen": "^0.0.18",
"@capacitor/ios": "^3.0.0",
"capacitor-notificare": "3.6.0",
"capacitor-notificare": "3.6.1",
"rimraf": "^3.0.2",
"rollup": "^2.32.0",
"typescript": "^4.5.4"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
notificare_version = '3.6.0'
notificare_version = '3.6.1'

Pod::Spec.new do |s|
s.name = 'CapacitorNotificareMonetize'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'androidx.lifecycle:lifecycle-livedata-core-ktx:2.5.1'

def notificare_version = '3.6.0'
def notificare_version = '3.6.1'
api "re.notifica:notificare:$notificare_version"
api "re.notifica:notificare-monetize:$notificare_version"
implementation "re.notifica:notificare-monetize-gms:$notificare_version"
Expand Down
4 changes: 2 additions & 2 deletions packages/capacitor-notificare-monetize/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ def capacitor_pods
pod 'Capacitor', :path => '../node_modules/@capacitor/ios'
pod 'CapacitorCordova', :path => '../node_modules/@capacitor/ios'

pod 'Notificare/NotificareKit', '3.6.0'
pod 'Notificare/NotificareMonetizeKit', '3.6.0'
pod 'Notificare/NotificareKit', '3.6.1'
pod 'Notificare/NotificareMonetizeKit', '3.6.1'
end

target 'Plugin' do
Expand Down
8 changes: 4 additions & 4 deletions packages/capacitor-notificare-monetize/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "capacitor-notificare-monetize",
"version": "3.6.0",
"version": "3.6.1",
"description": "Notificare Monetize Capacitor plugin.",
"author": "Notificare <info@notifica.re> (https://notificare.com)",
"license": "MIT",
Expand Down Expand Up @@ -49,15 +49,15 @@
"docs:replace-symbolic-links": "rm README.md CHANGELOG.md MIGRATION.md; cp ../../README.md ../../CHANGELOG.md ../../MIGRATION.md ."
},
"peerDependencies": {
"@capacitor/core": "^3.0.0",
"capacitor-notificare": "3.6.0"
"@capacitor/core": "3 - 5",
"capacitor-notificare": "3.6.1"
},
"devDependencies": {
"@capacitor/android": "^3.0.0",
"@capacitor/core": "^3.0.0",
"@capacitor/docgen": "^0.0.18",
"@capacitor/ios": "^3.0.0",
"capacitor-notificare": "3.6.0",
"capacitor-notificare": "3.6.1",
"rimraf": "^3.0.2",
"rollup": "^2.32.0",
"typescript": "^4.5.4"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
notificare_version = '3.6.0'
notificare_version = '3.6.1'

Pod::Spec.new do |s|
s.name = 'CapacitorNotificarePushUi'
Expand Down
2 changes: 1 addition & 1 deletion packages/capacitor-notificare-push-ui/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ dependencies {

implementation 'androidx.appcompat:appcompat:1.5.1'

def notificare_version = '3.6.0'
def notificare_version = '3.6.1'
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
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ extension NotificarePushUIPlugin: NotificarePushUIDelegate {
}
}

public func notificare(_ notificarePushUI: NotificarePushUI, shouldPerformSelectorWithURL url: URL, in action: NotificareNotification.Action, for notification: NotificareNotification) {
public func notificare(_ notificarePushUI: NotificarePushUI, didReceiveCustomAction url: URL, in action: NotificareNotification.Action, for notification: NotificareNotification) {
do {
EventBroker.instance.dispatchEvent("custom_action_received", data: [
"notification": try notification.toJson(),
Expand Down
Loading

0 comments on commit 438282a

Please sign in to comment.