We recently updated our Hyperloop Examples app to the Hyperloop 1.2.0 beta. This new version contains major bugfixes and improvements we’d like to share with you:
On iOS, we fixed an issue where Swift code placed in the src directory worked on the simulator but failed on the device. We also fixed a problem with subsequent builds that caused problems on the device. Along with that, we now support both Alloy- and Classic-projects to give you the ability to use Hyperloop in (existing) legacy projects as well.
On Android, we have two new features and a bugfix. We fixed an issue related to accessing fields with primitive types that couldn’t be unwrapped by Hyperloop properly. On the feature-side, we now support require-wildcards. That means, that you can require a package and all of its classes like this:
var AndroidViewPackage = require("android.view.*"); var view = new AndroidViewPackage.View(); var menu = new AndroidViewPackage.Menu();
Besides that, you can now call super-classes when sub-classing a certain Android API. See the donut chart as an example.
You can check the sample application above or build your own hyperloop-based application with the updated module on Appcelerator Labs. Also check our Hyperloop module template. If you have any questions or find a bug, feel free to reach out to us on Ti.Slack (#hyperloop) or file a JIRA-ticket.
Please beware that Hyperloop is currently in Beta and should not be used in production, yet. The stable release is scheduled for the upcoming Titanium Mobile 5.4.0.GA release in June.
Code strong! ?