Skip to content

Releases: codenameone/CodenameOne

7.0.207

10 Oct 04:22

Choose a tag to compare

Better fix for toast bar and safe areas

This time tested with iOS and Android

https://github.com/codenameone/CodenameOne/issues/3952

7.0.206

03 Oct 03:55
0fce39a

Choose a tag to compare

fix: [3937] Fixed FAB respect safe areas (#3950)

7.0.205

26 Sep 04:57
cf1d1b3

Choose a tag to compare

Fix ImageViewer getCroppedImage() inconsistency after panning operati…

7.0.204

06 Sep 22:59

Choose a tag to compare

Full Changelog: 7.0.203...7.0.204

7.0.203

06 Sep 19:41

Choose a tag to compare

Full Changelog: 7.0.202...7.0.203

7.0.202

06 Sep 19:16

Choose a tag to compare

What's Changed

Full Changelog: 7.0.201...7.0.202

7.0.201

17 Aug 01:27
6ce1275

Choose a tag to compare

fix: Android safe areas should work when there are no cutouts (#3926)

This fixes https://github.com/codenameone/CodenameOne/issues/3925, where it was demonstrated that the Sheet was being cut off by the bottom navigation bar.
I found that the current code for updating the safe area would always return zero insets if the device didn't have a cutout.
Fixed it so that system bars would still be incorporated into the safe area even with there were no cutouts.

7.0.200

08 Aug 07:01
d34a23f

Choose a tag to compare

Signature verification logic (#3924)

7.0.199

18 Jul 04:09
98febe6

Choose a tag to compare

fix: NullPointerException intermittently on launch (#3917)

7.0.198

13 Jul 14:56
2b45933

Choose a tag to compare

fix: [3914] Fix safe area insets on android 34 (#3915)

* fix: [3914] Fix safe area insets on android 34

This fixes both safe area insets and form bottom padding editing on android 34.
By trial and error, I found that, with respect to immersive mode, android 34 behaves like
android 33 and earlier unless we explicitly enable it by calling WindowCompat.setDecorFitsSystemWindows(window, false),
which we don't do.  And it is not possible to detect whether this has been called.
This patch adjusts immersive heuristics to check for API 35+ instead of 34+ when determining if we are drawing
edge to edge on the screen.

This impacts the safe area insets implementation as well as form bottom padding editing.

As part of this, I have re-enabled the android.useSafeAreaInsets display property by default
so taht we use safe area insets by default.  This can be opted out.

The reason is that on API 35+ it needs this setting to work properly.

* fix extra bottom padding when ime is visible