Defold 1.2.69 has been released

This release includes a mixed collection of both new features and bug fixes.

We have added support for handling inter-app communications that can be used for deep linkning into your games. This new feature is exposed through the iac namespace. (Please see the separate note below for changes if you are using a custom Info.plist or AndroidManifest.xml.)

Fonts will no longer be limited to how many characters can fit into a font image at build time. Instead they will all be generated but only be streamed in at realtime depending on what text is currently shown. This opens up for fonts and languages with a large amount of different characters. Users also have the ability to set the size of the realtime font cache texture.

When bundling iOS or Android, selecting Release will output a binary with debug symbols stripped. This should result in a smaller bundled package size.

New features

  • Added: Inter-app communications support
  • Added: Stripping of debug symbols for Android and iOS
  • Added: Streaming/Dynamic fonts support

Bug fixes

  • Fixed: IAP purchase cancelled error code
  • Fixed: gmt_offset was always 0 on Android
  • Fixed: Soft lock when switching from Facebook
  • Fixed: SSL handshake issue for http requests
  • Fixed: Send error when consuming a product on Android fails.

Notes

If you currently are using a custom Info.plist and/or AndroidManifest.xml, you might need to make some changes to be able to use inter-app communications.

AndroidManifest.xml
The following new lines need to be added:

<!-- For IAC Invocations -->
<activity android:name="com.defold.iac.IACActivity"
    android:theme="@android:style/Theme.Translucent.NoTitleBar"
    android:launchMode="singleTask"
    android:configChanges="keyboardHidden|orientation|screenSize">
    <intent-filter>
        <action android:name="android.intent.action.VIEW" />
        <category android:name="android.intent.category.DEFAULT" />
        <category android:name="android.intent.category.BROWSABLE" />
        <data android:scheme="{{android.package}}" />
    </intent-filter>
</activity>

Info.plist
The following line need to be changed (ie. remove the “fb” prefix):

{{#url-schemes}}<string>fb{{.}}</string>{{/url-schemes}}

Into this:

{{#url-schemes}}<string>{{.}}</string>{{/url-schemes}}

Again, these changes are only needed if you are using a custom Info.plist/AndroidManifest.xml!

3 Likes