Titanium News #12
Tags: javascript, news, tidev, mobile
Published: 2022-10-28 22:36:48

<small>Older posts can be found [here](https://dev.to/miga).</small>

## Intro

Many module updates, some previews and news about the next SDK.


## Titanium merchandise

Show the public that you work with the best mobile dev framework :wink:

![ti_merch](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1oz0tni0aqc47xgp0sl5.jpg)

I've set up a personal Spreadshirt shop with some Ti merchandise:
https://titanium-mobile.myspreadshop.net/
Will add some more designs in the future. 

## Titanium SDK

A few new PRs have been merged to the Titanium master branch and will make it in the next release version 12.0.0.

We start with new Android layouts. The next release will bring you Material3 layouts:

* Theme.Titanium.Material3.DayNight
* Theme.Titanium.Material3.DayNight.NoTitleBar
* Theme.Titanium.Material3.DayNight.Fullscreen

![material3](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ztgx858oag51ax2jeq60.png)

of course you can use every other Android theme. And with that you will have a new helper function `Ti.UI.Android.harmonizedColor(color)` that will generate a "harmonizing color" of the color you are passing in (<a href="https://github.com/tidev/titanium_mobile/pull/13597">PR</a>).

An old iOS issue was fixed where unbalanced view controller transitions caused errors (<a href="https://github.com/tidev/titanium_mobile/pull/13586">PR</a>).

Android drawer events work correctly now if you just use a rightView and no leftView (<a href="https://github.com/tidev/titanium_mobile/pull/13619">PR</a>).

A very "hidden" error in Listviews was fixed on Android that could cause a crash when e.g. a HTTP request is completed but the activity is gone already (<a href="https://github.com/tidev/titanium_mobile/pull/13624">PR</a>)

The default template and documentation was updated.

### Preview

New PRs are waiting for a review to get merged:

![searchbar](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rxs6zmu4095j559oaz7k.jpg)

* Android: Change the SearchBar icon color with simple code (<a href="https://github.com/tidev/titanium_mobile/pull/13622">PR</a>)
* Android: a test for variable fonts https://github.com/tidev/titanium_mobile/pull/13589
* Android: Use XML animations for views (https://github.com/tidev/titanium_mobile/pull/13600)
* Android: lineCount/visibleText for Ti.UI.Label to improve ellipsize handling (https://github.com/tidev/titanium_mobile/pull/13583)
* iOS: support for html in AttributedStrings (https://github.com/tidev/titanium_mobile/pull/13569)
and other bugfixes and improvements :smile:

Check https://github.com/tidev/titanium_mobile/pulls for a full list.

## Modules
And again many module updates and some new ones to check out!

**Titanium Freshchat SDK:**
Use the native Freshchat SDK
https://github.com/hansemannn/titanium-freshchat

**Titanium Parse SDK Module**
https://github.com/prashantsaini1/ti-parselivequery

**Titanium iOS Notification Service Extension**
An example implementation of using a native iOS Notification Service Extension (to display images in remote push notification) in Titanium.
https://github.com/hansemannn/titanium-notification-service-extension

**PurgeTSS**
Again some big updates to the tailwind class library for Titanium
https://github.com/macCesar/purgeTSS

**Github Actions**
Want to use Github actions to build your Titanium app? Two actions will help you with that task
https://github.com/marketplace/actions/install-titanium-sdk
https://github.com/marketplace/actions/titanium-android-build

**Ti.Animation Rive support**
I'm currently updating my ti.animation module to support <a href="https://rive.app/">Rive</a> animations. For a preview video have a look at:
https://twitter.com/MichaelGangolf/status/1583137289794097154

## Tutorials

Added a new tutorial to find memory issues in your app with Androids "Don't keep activities" setting. You can find it at <a href="https://fromzerotoapp.com/android-find-bugs-with-the-dont-keep-activities-developer-setting/">From zero to app - Android: Find bugs with the “don’t keep activities” developer setting</a>.

## That's it

If you have feedback or some interesting Titanium apps, modules or widgets you would like to share: get in contact with me or leave a comment and I'll add it to the next `Titanium news`.