Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backport all the stuff #1

Merged
merged 24 commits into from
Feb 13, 2020
Merged

backport all the stuff #1

merged 24 commits into from
Feb 13, 2020

Conversation

Shchvova
Copy link
Owner

No description provided.

Shchvova and others added 24 commits November 20, 2019 17:55
Google decided to change android.content.pm.PermissionInfo.group to always be ...UNDEFINED. Hack to account for it.
…ame (#30)

When a frame takes longer than the duration of a full infinite loop sequence, sprites would get stuck.
I modified the for loop to keep iterating until deltaTime is bigger than fTimeArrayCachedNextFrameTime again.
This will also give it a more consistent result, since it can now return an index higher then effectiveNumFrames (same as when not using a 'time' array)
(to make it work, link WebKit framework)
Replacing MediaPlayer with AVKit
This is the preferred method of achieving this regarding the Android Developer tutorials.
… build.settings (#32)

* Added initialSystemUiVisibility property to 'android' key in build.settings

This sets the systemUiVisibility even before the splashScreen comes up, avoiding the resize of the corona logo (which normally happens when settings immersiveSticky in main.lua)
For Android devices < 4.4 setting a initialSystemUiVisibility with `immersiveSticky` will automatically fall back to `lowProfile` mode.

* Added View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION flag to immersive & immersiveSticky modes.

This will prevent the resize event on Android which happens when starting the application. The application will immediately have the right dimension.
Without this, a Corona app on a 1920x1080 screen will start at 1776x1080 and resizes to 1920x1080 shortly after starting up (a "resize" event occurs)
With this, a Corona app will immediately start with 1920x1080 as display.pixelWidth & display.pixelHeight
* Added new native.setProperty() named "windowSize" for MacOS

This will allow you to change the window width/height in code by passing a table with either `width` or/and `height` values

* Added new native.setProperty() named "windowSize" for Windows

This will allow you to change the window width/height in code by passing a table with either `width` or/and `height` values

Co-authored-by: Marcel <[email protected]>
@Shchvova Shchvova merged commit 6efcf3f into Shchvova:master Feb 13, 2020
Shchvova pushed a commit that referenced this pull request Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants