mmine 0.6.7 → 0.6.8
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 +4 -4
- data/lib/mmine/notification_extension_integrator.rb +10 -1
- data/lib/mmine/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d20824d05bdef9860f6a23e8a7b4ac2aff9192d0bc6369de861ce67943a743e
|
4
|
+
data.tar.gz: 52bb518aea2cbaf94d89f00e34bc880f4a92ca4fa963291ca9eb1d80ebe3637f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d1c10a23f3f9ecea75ee4623d0ac08168b7b8bb794a5eecf2fefe8f3bb97caa9cc5e223830e677fb0169434df1767ee0e3168a56a0ff440538d142c22a0a2ee
|
7
|
+
data.tar.gz: 761221dcfa792a1f351de4a64ee87373bb13251815b80623746cf14300ab0e0b031bbd8ac49c0258bfa6a4a22a9c108a9b8614580dcabee9fbf9e03c20f0a992
|
@@ -157,7 +157,16 @@ class NotificationExtensionIntegrator
|
|
157
157
|
suffix = "notification-extension"
|
158
158
|
debug_id = @main_target_build_settings_debug['PRODUCT_BUNDLE_IDENTIFIER']
|
159
159
|
release_id = @main_target_build_settings_release['PRODUCT_BUNDLE_IDENTIFIER']
|
160
|
-
|
160
|
+
if debug_id and release_id
|
161
|
+
@logger.info("Composing extension bundle id from main target build settings: debug #{debug_id}, release #{release_id}")
|
162
|
+
setNotificationExtensionBuildSettings('PRODUCT_BUNDLE_IDENTIFIER', "#{debug_id}.#{suffix}", "#{release_id}.#{suffix}")
|
163
|
+
else
|
164
|
+
key = "CFBundleIdentifier"
|
165
|
+
main_bundle_id = getXMLStringValue(key, @main_target_release_plist)
|
166
|
+
extension_bundle_id = "#{main_bundle_id}.#{suffix}"
|
167
|
+
@logger.info("Composing extension bundle id from main target info plist: #{main_bundle_id}.")
|
168
|
+
setNotificationExtensionBuildSettings('PRODUCT_BUNDLE_IDENTIFIER', extension_bundle_id)
|
169
|
+
end
|
161
170
|
end
|
162
171
|
|
163
172
|
def setupMainTargetEntitlements
|
data/lib/mmine/version.rb
CHANGED