- Mar 09, 2016
-
-
Simon MacDonald authored
-
Simon MacDonald authored
-
- Mar 07, 2016
-
-
Simon MacDonald authored
-
Simon MacDonald authored
-
Simon MacDonald authored
-
Simon MacDonald authored
-
Simon MacDonald authored
-
Simon MacDonald authored
-
Simon MacDonald authored
-
Simon MacDonald authored
-
Simon MacDonald authored
-
Simon MacDonald authored
-
Simon MacDonald authored
-
tommy-carlos williams authored
This still isn't the "right way" linked in #427, but seems to be safe and void of side effects due to the namespacing of all the methods. It has been tested to work side by side with another plugin that also swizzles AppDelegate's applicationDidBecomeActive. 1. wrapped swizzling in dispatch_once 2. first attempts class_addMethod / class_replaceMethod but if that fails falls back to method_exchangeImplementations. 3. swizzled_init => pushPluginSwizzledInit (if other plugins attempt to swizzle init and use the same name, there seems to be a collision) 4. added an observer for UIApplicationDidBecomeActiveNotification instead of overriding applicationDidBecomeActive 5. applicationDidBecomeActive => pushPluginOnApplicationDidBecomeActive (and it becomes a notification observer instead) See http://nshipster.com/method-swizzling/ and "Avoid collisions" under "Considerations". This will need testng by someone that understands the plugin better than I do, but it should not be changing the core functionality at all. The pushPluginOnApplicationDidBecomeActive method *is* called when the application becomes active, etc. Goes a long way toward fixing #427 without regressing #447, etc.
-
Simon MacDonald authored
-
- Feb 29, 2016
-
-
Simon MacDonald authored
Use standard cordova PACKAGE_NAME variable in place of applicationId
-
- Feb 18, 2016
-
-
Simon MacDonald authored
-
- Feb 16, 2016
-
-
Cory Snyder authored
-
- Feb 05, 2016
-
-
Simon MacDonald authored
Update ISSUES.md
-
Thiago Bueno authored
-
- Feb 04, 2016
-
-
Simon MacDonald authored
-
Simon MacDonald authored
-
- Feb 03, 2016
-
-
Simon MacDonald authored
-
Simon MacDonald authored
-
Simon MacDonald authored
-
- Feb 02, 2016
-
-
Simon MacDonald authored
-
Simon MacDonald authored
-
- Jan 27, 2016
-
-
Frederico Galvão authored
TYPO Fix
-
Cain authored
-
- Jan 14, 2016
-
-
Simon MacDonald authored
-
Simon MacDonald authored
-
Simon MacDonald authored
-
Simon MacDonald authored
Permission check done through non-sdk19 / 4.4+
-
Simon Wicki authored
-
Simon Wicki authored
-
- Jan 13, 2016
-
-
Simon MacDonald authored
-
Simon MacDonald authored
-
- Jan 12, 2016
-
-
Frederico Galvão authored
Also, `cordova platform update ios@4.0.0` is broken as we speak. See https://issues.apache.org/jira/browse/CB-9254. It's still broken in 4.0.1.
-
Simon MacDonald authored
-
- Jan 06, 2016
-
-
Simon MacDonald authored
-