Skip to content

Sample app for new features present in Titanium SDK 7.3.0

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.txt
Notifications You must be signed in to change notification settings

appcelerator-developer-relations/appc-sample-ti730

Repository files navigation

Sample App for Titianum SDK 7.3.0

This sample is for showing the newest features introduced in Axway Titanium SDK 7.3.0. Of course this is not everything introduced in 7.3.0. Check out the full list of features, bugfixes and improvements in the release notes.

iOS

On iOS there are multiple new features that are great.

  • Parallax effect, or UIInterpolatingMotionEffect, has been added. This is a tss property you can use, no controller changes required. You can see how it works in parallax.tss.
  • showsBackgroundLocationIndicator has been added. This property on the Ti.Geolocation namespace allows you to show the "blue" bar "App is using your location" when your app has been given the "Always" permission. How it works can be seen in the backgroundlocationindicator.js controller.
  • iPhone X home indicator allows you to control wether or not you can see the home indicator on iPhone X. This is great if you have pages in your app. See how it is implemented in the iphonexhomeindicator.js controller.

UserNotifications Framework

Support for UserNotifications framework has also been added in 7.3.0. But this is so awesome we decided it needed its own sample app. Check it out: https://github.com/appcelerator-developer-relations/appc-sample-ios-push-notifications

More iOS changes

Besides the features above a lot of bugs were fixed too. Obiously, demonstrating this is kind of pointless, so here's the link to the issue list fixed. Release notes

There were also a bunch of improvements made which you can see a little bit further down on the releasenotes.

Android

There is only one Android specific feature displayed in this sample app, which is the Ti.UI.MaskedImage. This functionality was previously iOS only, but now works on Android too. Only a couple samples were added to this app but it should give you an idea what is possible. You can see how it works in maskedImage.tss.

To experience and test with all MaskedImage properties, head over the the Jira Ticket and download the sample app from there.

Read the docs for more information.

Foreground Services

Another new feature in Android is Foreground services. These allow services to be added to the foreground when apps are in the background. You can read about it in the docs. A sample app for this is coming later.

More Android changes

Besides the features above a lot of bugs were fixed too. Obiously, demonstrating this is kind of pointless, so here's the link to the issue list fixed. Release notes

There were also a bunch of improvements made which you can see a little bit further down on the releasenotes.

Cross platform

Next to iOS and Android specific features there are also 2 new features for both iOS and Android.

Zoomlevel

zoomLevel property for Ti.UI.WebView. For this sample I've just added a timeout after opening the controller with the webview to demonstrate how it works.

Basically nothing more than $.zoomable.zoomLevel = 2; (or any other number you want obviously)

New error dialog

Any error you trigger in the application used to have the "Red Screen of Death". This screen is now massively improved with stacktraces. I've made an error on purpose in the app, just run this sample app and click "Trigger an error" to see it. Obviously you need to have a dev build, not a production build, as those errors won't show up there.

Linting

This project uses the axway/env-alloy NPM plugin to lint the source. You can lint the source yourself using npm run lint.

Support

Make sure to reach out to the Titanium Slack community for questions or file a JIRA ticket if you run into any issues.

Author

Rene Pot, Axway Appcelerator

License

Apache 2

About

Sample app for new features present in Titanium SDK 7.3.0

Topics

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages