Code Monkey home page Code Monkey logo

appc-sample-ti730's Introduction

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

appc-sample-ti730's People

Contributors

jawa9000 avatar topener avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.