GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 8.7.0 freezes on splash screen while 8.6.2 does not · Issue #1813 · NativeScript/android

8.7.0 freezes on splash screen while 8.6.2 does not #1813

New issue
Copy link
New issue
Copy link
Open
Open
8.7.0 freezes on splash screen while 8.6.2 does not#1813
Copy link

Description

@JWiseCoder
JWiseCoder
opened on Apr 24, 2024
Issue body actions

I updated my app, and among other things, it upgraded nativescript/android to 8.7.0. When I ran on Android, the app never got past the splash screen. While debugging this, I discovered if I just set nativescript android back to 8.6.2, everything worked fine, and the app ran normally.

I'd like to upgrade fully, but I can't figure out what change to nativescript/android made this occur.

If I change the implementation used from androidx.core:core-splashscreen to use 1.1.0-rc01 I can get it to work, but why would nativescript/android version affect this?

Reacted by Douglas M. Barcellos

Activity

  1. NathanWalker commented on Apr 24, 2024

    @NathanWalker
    NathanWalker
    on Apr 24, 2024
    Contributor
    More actions

    When possible to share your app.gradle and AndroidManifest would be helpful. It may be just min/target sdk related.

  2. JWiseCoder commented on Apr 25, 2024

    @JWiseCoder
    JWiseCoder
    on Apr 25, 2024
    Author
    More actions

    I can't share that entirely, but both target and compile sdk are 33. And I don't have to update any of that as long as I change to implementation "androidx.core:core-splashscreen:1.1.0-rc01". I'd rather not use an rc in the app, and I don't know when the release is coming.

    I was just wondering what in nativescript android made that necessary.

  3. dougmbarcellos commented on Aug 28, 2024

    @dougmbarcellos
    dougmbarcellos
    on Aug 28, 2024
    More actions

    Same problem updating from 8.5.2 to 8.8.2. Solved removing dependency nativescript-pdf-view (3.0.0-1).

  4. cloudhx commented on Aug 29, 2024

    @cloudhx
    cloudhx
    on Aug 29, 2024
    More actions

    @dougmbarcellos I have the same issue but no dependency nativescript-pdf-view, any idea about what could be wrong? Thanks!

  5. madmas commented on Aug 29, 2024

    @madmas
    madmas
    on Aug 29, 2024
    More actions

    @dougmbarcellos @cloudhx are you still using ´nativescript-pdf-view´ or have you updated to https://github.com/NativeScript/plugins/tree/main/packages/pdf , the new home of that plugin that has received some updates?

  6. dougmbarcellos commented on Aug 29, 2024

    @dougmbarcellos
    dougmbarcellos
    on Aug 29, 2024
    More actions

    Replacing with @nativescript/pdf solves the problem

  7. dougmbarcellos commented on Aug 29, 2024

    @dougmbarcellos
    dougmbarcellos
    on Aug 29, 2024
    More actions

    @dougmbarcellos I have the same issue but no dependency nativescript-pdf-view, any idea about what could be wrong? Thanks!

    Could be another old dependency. Try upgrade ou replace project dependencies with new versions.

  8. jasreenka commented on Sep 12, 2024

    @jasreenka
    jasreenka
    on Sep 12, 2024
    More actions

    I have a similar issue. Application was getting stuck on "Successfully installed on device ..." step. After replacing nativescriot-pdf-view, it moves now to next step to restart the application but is getting stuck there with the following error :

    Installing on device emulator-5554...
    Successfully installed on device with identifier 'emulator-5554'.
    Restarting application on device emulator-5554...
      System.err: An uncaught Exception occurred on "main" thread.
      System.err: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Error calling module function
      System.err: Error calling module function
      System.err: ReferenceError: android is not defined
      System.err: File: (file: src/webpack/bootstrap:27:0)
      System.err:
      System.err: StackTrace:
      System.err: ./node_modules/@nativescript/core/utils/constants.android.js(file: node_modules/@nativescript/core/utils/constants.android.js:1:7)
      System.err: 	at __webpack_require__(file: src/webpack/bootstrap:24:0)
      System.err: 	at fn(file: src/webpack/runtime/hot module replacement:62:0)
      System.err: 	at ./node_modules/@nativescript/core/accessibility/accessibility-service.android.js(file:///data/data/ca.mybenefits.mobile/files/app/vendor.js:3465:74)
      System.err: 	at __webpack_require__(file: src/webpack/bootstrap:24:0)
    
  9. jasreenka commented on Sep 23, 2024

    @jasreenka
    jasreenka
    on Sep 23, 2024
    More actions

    The issue with the error I had was having productFlavour in app.gradle. Removing product flavours works. I need those to distinguish between qa and prod app.
    flavorDimensions "environment"
    productFlavors {
    prod {
    dimension "environment"
    }
    qa {
    dimension "environment"
    applicationIdSuffix ".beta"
    }
    }
    Any ideas why that would be an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.