We’d like to thank all of you who signed up to the pro subscription, the release of 3.3 is the perfect time to
your app to the web…
If you don’t have a pro license currently then you have until March 15th to upgrade and enjoy this offer. After
on it, you can also try out some of our demos live right now here
(using desktop or mobile browsers). Just click the JS Port link at the bottom right section of a demo e.g.
restaurant or property cross.
FYI If you cancel the subscription during this time or let it lapse this capability will be lost so make sure to keep it in place.
Memory Issue on Android Builds
With the switch to gradle in Android builds we experienced memory issues for some cases when building huge
apps. For some cases ading
android.gradle=false to the build hints was enough but for others
not so much.
The problem relates to the size of Google Play Services which are an essential part of Android applications but
have grown to a size that is pretty big. We need play services for better location tracking, in-app-purchase, push
notification, maps etc.
In the past we had the build hint
tried to be smart about play services but its a bit too coarse as it only accepts true/false.
To alleviate this issue we deprecated the
android.includeGPlayServices and are introducing
the new build hints below that will allow you to selectively include a play service. This means that future builds
to the Codename One build servers can have one of the following 5 states:
android.includeGPlayServices=true& one or more of the
entries defined – this is an illegal state and will cause the build to fail
entries defined – this will fallback to compatibility mode
entries defined – play services won’t be included
android.includeGPlayServicesundefined & no
entries defined – some play services will be included by default specifically: plus, auth, base, analytics, gcm, location, maps,
android.includeGPlayServicesundefined & one or more
entries defined – only the play services you explicitly select will be included.
The last two are a bit confusing so just to clarify if you do this:
The only play service included will be plus. However, if you don’t define any build hints specifically the above list
of play services will be included. This is a “sensible default mode” that we picked to make the transition easier.
The list of supported hints follows, they all accept true/false as arguments for inclusion/exclusion.
android.playService.plus android.playService.auth android.playService.base android.playService.identity android.playService.indexing android.playService.appInvite android.playService.analytics android.playService.cast android.playService.gcm android.playService.drive android.playService.fitness android.playService.location android.playService.maps android.playService.ads android.playService.vision android.playService.nearby android.playService.panorama android.playService.games android.playService.safetynet android.playService.wallet android.playService.wearable