Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27985] iOS 14: Ensure widgets are working as expected in titanium apps via extension

GitHub Issuen/a
TypeStory
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2020-09-11T20:37:57.000+0000
Affected Version/sn/a
Fix Version/sRelease 9.2.0
ComponentsiOS
Labelsn/a
ReporterVijay Singh
AssigneeVijay Singh
Created2020-06-25T17:46:11.000+0000
Updated2020-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)

Comments

  1. Vijay Singh 2020-08-17

    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.
  2. Satyam Sekhri 2020-09-09

    FR Passed App widgets can be added successfully. _Note: the target for widget extensions needs to be added as for a target named testapp._
  3. Satyam Sekhri 2020-09-09

    Waiting for Jenkins build
  4. Satyam Sekhri 2020-09-11

    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
  5. Lorenzo Piccinini 2020-10-28

    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 Compiling app I get error: ValidateEmbeddedBinary /Users/myname/Documents/GitHub/myr-app/build/iphone/build/Products/Debug-iphonesimulator/my\ app.app/PlugIns/MyWidgetExtension.appex What's wrong?
  6. Lorenzo Piccinini 2020-10-29

    Ignore my last message, it was Bundle Identifier error. Sorry

JSON Source