[TIMOB-27985] iOS 14: Ensure widgets are working as expected in titanium apps via extension
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-09-11T20:37:57.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 9.2.0 |
Components | iOS |
Labels | n/a |
Reporter | Vijay Singh |
Assignee | Vijay Singh |
Created | 2020-06-25T17:46:11.000+0000 |
Updated | 2020-10-29T00:36:11.000+0000 |
Description
Apple has introduced Widgets in iOS 14 https://developer.apple.com/documentation/widgetkit. Titanium developers can use it via creating extensions and use extension in their project.
Try to create a widget extension and use it in sample app, run it and see if everything works as expected.
For creating extension see guide [here](https://wiki.appcelerator.org/display/guides2/Creating+iOS+Extensions+-+Siri+Intents)
PR - https://github.com/appcelerator/titanium_mobile/pull/11920 How To Test - 1. Create a Widget Extension using Xcode 12 as mentioned in extension guide above ( No need to do ). 2. Add it in any titanium App and run using Xcode 12. 3. It should install on simulator/device. 4. In simulator/device scroll left side until you see search bar. 5. Scroll down. Click on 'Edit'. Click on '+'. 6. Select the app name . Click on 'Add Widget'. 7. Widget should be added.
FR Passed App widgets can be added successfully. _Note: the target for widget extensions needs to be added as
Waiting for Jenkins build
Verified on: Mac OS: 10.15.4 SDK: 9.2.0.v20200911073932, 9.3.0.v20200911052140 Appc CLI: 8.1.0 JDK: 11.0.4 Node: 10.17.0 Studio: 6.0.0.202005141803 Xcode: 12.0 Beta6 iPhone 14.0 simulator, iPad 14.0 simulator
Hello, I have followed extensions guide (https://docs.axway.com/bundle/Titanium_SDK_allOS_en/page/creating_ios_extensions_-_siri_intents.html) changing Intent Extension to Widget Extension and configured tiapp.xml
Ignore my last message, it was Bundle Identifier error. Sorry