[TIMOB-17556] iOS8: widgets extension
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-12-13T09:53:41.000+0000 |
Affected Version/s | Release 3.3.0 |
Fix Version/s | Release 5.3.0 |
Components | iOS |
Labels | TCSupport |
Reporter | Trevor Chong |
Assignee | Eric Merriman |
Created | 2014-08-01T12:58:17.000+0000 |
Updated | 2017-03-27T17:53:34.000+0000 |
Description
Be able to use Titanium to write a widget, or at least bundle a widget extension for the notification screen and interact with it.
Also, some use case examples in your docs would help immensely for it.
Do you have more information on what you mean by this feature?
Hi, Yes. in the new iOS 8 SDK, we can write extensions and bridge them into the native xCode app to do things like show a widget on the dashboard that would open into the app. Wonder if it is possible with the current infrastructure, if so, how? An addition to the docs would be great. Else, add this to the upcoming Titanium SDK. https://developer.apple.com/app-extensions/ http://www.itpro.co.uk/mobile/23025/ios-8-widgets-first-look-revealed
How does that relate to TIMOB-17335?
I'm unsure if it's the same thing. I work exclusively in Titanium, so an xcode developer on your side will need to investigate.
A few things to ponder on: - An app extension target must include the arm64 (iOS) or x86_64 architecture (OS X) in its Architectures build settings or it will be rejected by the App Store. - App extensions are for developing: Today Widget: Get a quick update or perform a quick task in the Today view of Notification Center (A Today extension is called a widget) Share: Post to a sharing website or share content with others Action: Manipulate or view content originating in a host app Photo Editing: Edit a photo or video within the Photos app Document Provider: Provide access to and manage a repository of files. Custom Keyboard: Replace the iOS system keyboard with a custom keyboard for use in all apps
As cool as this would be, i'm going to wager a guess that this is a MAJOR undertaking and prob wont come about until Ti 4.x... app extensions are basically separate apps packaged in a special way... Ti 3.x I would assume to be too large and inefficient for such a lightweight task... with Hyperloop though I would assume this to be a more realistic thing to make happen. But who knows, maybe Appc will be able to pull out some crazy mojo and make this happen before that.
+1
+1
+1 Is there any way to add today extension?
This issue is fixed since Release 5.3.0 (TIMOB-17335). There are guides for [General Extensions](https://wiki.appcelerator.org/display/guides2/Integrate+a+Native+iOS+App+Extension+or+WatchKit+App) and [SiriKit Extensions](https://wiki.appcelerator.org/display/guides2/Creating+iOS+Extensions%3A+Siri+Intents). There are also plans to support extensions in pure JS, please follow TIMOB-23707 for more infos regarding that. Thx!
Closing ticket as fixed with reference to the above comments.