forked from coronalabs/corona
-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
+521
−926
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
…o Android Manifest #34
* 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]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.