Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

From The Blog: Corona Labs releases a new public build
Started by CoronaBot Jul 10 2018 06:01 AM

6 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

CoronaBot

[GLOBAL: userInfoPane.html]
CoronaBot
  • Contributor

  • 397 posts
  • Corona Staff

Corona Labs is pleased to announce the availability of our latest public release of Corona: 2018.3326. This build contains significant bug fixes and new features that we hope you will appreciate.

Google Play

One of the biggest changes in this public build is addressing changes required by Google. Since the last public build, Google has changed their Vitals detection methods and have gotten considerably more aggressive with their detection. To support these changes, we’ve updated all of our support plugins for Android to bring them up to modern standards.

We have also increased our Android API level to 27 (Android 8.1) in preparation for Google’s August, 2018 requirement to have API level 26 support.

Google is also pushing new app signing procedures. As such, Corona can now employ the modern encryption methods used by the latest Java keytool built keystores as well as older keystores.

HTML5

You will notice that a majority of the updates in this build are involving HTML5. That’s right – HTML5 builds are now in Open Beta! HTML5 is becoming a considerably more stable product. We now include the base code needed to build Facebook Instant Games as well as support for the VK social media site’s version as well.

HTML5 builds are already having an impact on other platforms. Developers have prototyped HTML5 versions of game ideas and pitched them to publishers to build mobile versions of the games. Being able to quickly give someone a look into your prototype is a great way to market your content.

GDPR

The European Union’s General Data Protection Regulation went into effect on May 25, 2018. This public release of Corona does not collect data considered personal in nature. Also, Corona Labs doesn’t collect any personal data in Corona-managed advertising plugins. The third-party SDKs used in the plugins have their own GDPR requirements..

Apple

On the Apple side, we have updated to support iOS 11.4 and Xcode 9.4 and implemented additional features to support iOS 11 edge gestures that impact the iPhone X.

One breaking change that comes with iOS 11 is that getting the default language of the device is now dependent on additions to the iOS plist. iOS 11 only returns supported values that your app supports. You must include an entry in your build.settings file to list the supported languages by the app. For example:

settings = {
       iphone = {
               plist = {
                      CFBundleLocalizations = {"en", "fr", "pt", "zh", "de", "it", "ja", "es", "ru", "uk"},
               },
        },
}

You can look at the sample app: SampleCode/GettingStarted/HelloWorldLocalized for an example of this requirement.

Open-source libraries

In addition to these changes, Corona Labs is open-sourcing the following libraries:

  • timer.*
  • easing.*
  • transition.*
  • composer.*

You can download the Lua source for these libraries from the Corona Labs GitHub account. In addition, the widget.* library was updated to be in sync with our internal library.

Facebook

Facebook has recently changed their permission requirements for apps. You now have to submit your app to Facebook for review and get approved to use the user_friends permission. We have removed the default addition of the user_friends permission from the login process. Starting with this release (2018.3326) plugin facebook_v4a only asks for public_profile by default. This may be a breaking change if your app depends on the user_friends permission. If this is a case, add the permission when requesting login, like facebook.login( { 'user_friends' } ).

Check it out!

You can see a full list of changes in our release notes for 2017.3326. If you have questions or comments on this release, join us in our community forums.



View the full article
  • ldurniat, roaminggamer, agramonte and 2 others like this

[TOPIC: post.html]
#2

mmihajlovic

[GLOBAL: userInfoPane.html]
mmihajlovic
  • Observer

  • 26 posts
  • Corona SDK

Awesome stuff! Love the open sourcing of libraries! Are you guys open to pull requests/bug fixes/modifications?

[TOPIC: post.html]
#3

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,328 posts
  • Corona Staff

We primarily released them so you could modify them for your use. I guess any pull requests would be evaluated on a case-by-case basis. No promises.

 

Rob



[TOPIC: post.html]
#4

bulupe

[GLOBAL: userInfoPane.html]
bulupe
  • Enthusiast

  • 46 posts
  • Corona SDK

Really awesome, I wonder if there is a documentation about how to compile and use widget library, I want to extend scrollview functionality do support snapping.

 

Thanks



[TOPIC: post.html]
#5

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,328 posts
  • Corona Staff

The main.lua in the top level of the project shows you how to replace the widget library. Drop the widgetLibrary folder in the project with your main.lua and then basically you have to clear our internal bindings and then load back in what you need.

 

https://github.com/coronalabs/framework-widget/blob/master/main.lua

 

Rob



[TOPIC: post.html]
#6

bulupe

[GLOBAL: userInfoPane.html]
bulupe
  • Enthusiast

  • 46 posts
  • Corona SDK

@rob

 

thank you



[TOPIC: post.html]
#7

greg brady

[GLOBAL: userInfoPane.html]
greg brady
  • Contributor

  • 254 posts
  • Corona SDK

Fantastic work Corona team!!!




[topic_controls]
[/topic_controls]