Android Multi-Window Support

4 posts, 0 answers
  1. Gregory
    Gregory avatar
    4 posts
    Member since:
    Jan 2014

    Posted 01 Nov Link to this post

    I have an app that runs fine on iOS 10 and Android 6.  Under Android 7, however, it periodically spontaneously restarts.  This appears to be a result of the new Android Multi-Window Support ( see https://developer.android.com/guide/topics/ui/multi-window.html) .  According to this article, apps targeting API level 23 or lower will be forcibly resized by destroying and recreating the WebView, which is exactly what I am seeing happen, with disastrous consequences.

    The solution seems to be to add the android:resizableActivity attribute to the AndroidManifest.xml and build against API level 24.  I am not able to get a successful build, however, as it appears that AppBuilder is still builing against API level 23, even though I have specified android:targetSdkVersion="24".

    Can you confirm that all builds are still being processed against API level 23.  And if so, what are the plans to add capability to build against API level 24? 

  2. Preslav
    Admin
    Preslav avatar
    49 posts

    Posted 04 Nov Link to this post

    Hello Gregory,

    Thank you for sharing all this information.

    According to the Apache Cordova documentation, Cordova's latest Android package supports up to Android API level 23. This said, you cannot build any Cordova application against Android API-level 24 for now.

    Regards,
    Preslav
    Telerik by Progress
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  3. Gregory
    Gregory avatar
    4 posts
    Member since:
    Jan 2014

    Posted 04 Nov Link to this post

    According to this October 24 article on the Cordova blog (https://cordova.apache.org/announcements/2016/10/24/android-release.html),  Cordova Android 6.0.0 is released and includes "Full Support for Android Nougat (API 24)".  It looks like they may not have updated the summary pages yet, but it is out.  This does require moving up to Cordova 6, but I am already getting problem reports from Android 7 users that are easily fixed with API Level 24.

  4. Preslav
    Admin
    Preslav avatar
    49 posts

    Posted 08 Nov Link to this post

    Hello Gregory,

    Thank you for sharing the above article with us.

    We are planning to integrate support for Cordova for Android 6.0, as well as, Cordova for iOS 4.3.0 in a future AppBuilder release. At this stage, I cannot commit to any specific timeframe when this will be implemented. 

    Regards,
    Preslav
    Telerik by Progress
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top