mmine 0.12.2 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec38684e72cc5f370931b4e24b49e9aeeb94426bc9a09870aa3d48627e4e3122
4
- data.tar.gz: 5936702355e3d56b0ee3890e61b9ba670da70f96839718ed8504b05937d067ee
3
+ metadata.gz: bf9a08bc4802f52fd00fb4f981a3f7b48cff3710d302701251b1bf2a7e285f2d
4
+ data.tar.gz: 1292599de1aea93a63d125fb4b6acec7964434ce0e598ae86f2ab5161e2e0ba7
5
5
  SHA512:
6
- metadata.gz: 9497bfab57a269d5da68058e256b4c3983ec199a7325f1971eaf396bee2330547f608395746f10b215ce9bf3622b5f543fed74a2cfb18de0e436df1057983840
7
- data.tar.gz: 9a4e2eb7999c3d4523565df455af032b16e236fc1f6a7614c67091cbba483401631e328aeb34ffcf625edd1a9d7726a3910c8e9d7417648629b8a0c327db75af
6
+ metadata.gz: bcf33351a6111b16b950ceafe606760d80bbb13c3cbdd18ec9034b8af5a4de093fc5feddb9ee479516b08375129050e8eec9a76f90049d5169857dc2398f60e9
7
+ data.tar.gz: 759f7473f8ed744e774e5ad8b43b6754ec9a410da82e9131650936ba3597413c03ce59ef3b24385faaddcf43cfd610f349c287a9f9464c41065767a2c38f888c
@@ -86,9 +86,8 @@ class NotificationExtensionIntegrator
86
86
  @extension_build_settings_debug,
87
87
  @extension_build_settings_release)
88
88
  #setup_extension_lib_cordova_link
89
- setup_framework_search_paths
90
- unless @xcframework
91
- setup_copy_framework_script
89
+ if @xcframework
90
+ setup_framework_search_paths
92
91
  end
93
92
  else
94
93
  setup_entitlements(@main_build_configurations_debug.map { |config| config.build_settings['CODE_SIGN_ENTITLEMENTS'] },
data/lib/mmine/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mmine
2
- VERSION = "0.12.2"
2
+ VERSION = "0.13.1"
3
3
  end
@@ -12,8 +12,15 @@ class NotificationService: UNNotificationServiceExtension {
12
12
  override func didReceive(_ request: UNNotificationRequest, withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
13
13
  self.contentHandler = contentHandler
14
14
  self.originalContent = request.content
15
- MobileMessagingNotificationServiceExtension.startWithApplicationCode(<# put your Application Code here #>)
16
- MobileMessagingNotificationServiceExtension.didReceive(request, withContentHandler: contentHandler)
15
+
16
+ // Check if notification is from Infobip
17
+ if MM_MTMessage.isCorrectPayload(request.content.userInfo) {
18
+ MobileMessagingNotificationServiceExtension.startWithApplicationCode(<# put your Application Code here #>)
19
+ MobileMessagingNotificationServiceExtension.didReceive(request, withContentHandler: contentHandler)
20
+ } else {
21
+ // Pass through non-Infobip notifications
22
+ contentHandler(request.content)
23
+ }
17
24
  }
18
25
 
19
26
  override func serviceExtensionTimeWillExpire() {
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mmine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.2
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Kadochnikov
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2018-10-16 00:00:00.000000000 Z
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.22.0
19
+ version: 1.27.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 1.22.0
26
+ version: 1.27.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: nokogiri
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -58,7 +58,7 @@ licenses:
58
58
  - MIT
59
59
  metadata:
60
60
  source_code_url: https://github.com/infobip/mobile-messaging-mmine
61
- post_install_message:
61
+ post_install_message:
62
62
  rdoc_options: []
63
63
  require_paths:
64
64
  - lib
@@ -73,8 +73,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.0.3.1
77
- signing_key:
76
+ rubygems_version: 3.5.23
77
+ signing_key:
78
78
  specification_version: 4
79
79
  summary: Mobile Messaging iOS Notification Extension Integration Tool made at Infobip
80
80
  (https://www.infobip.com)!!!