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 #1813DescriptionI 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 ActivityNathanWalker commented on Apr 24, 2024 When possible to share your app.gradle and AndroidManifest would be helpful. It may be just min/target sdk related. JWiseCoder commented on Apr 25, 2024 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. dougmbarcellos commented on Aug 28, 2024 Same problem updating from 8.5.2 to 8.8.2. Solved removing dependency nativescript-pdf-view (3.0.0-1). cloudhx commented on Aug 29, 2024 @dougmbarcellos I have the same issue but no dependency nativescript-pdf-view, any idea about what could be wrong? Thanks! madmas commented on Aug 29, 2024 dougmbarcellos commented on Aug 29, 2024 Replacing with @nativescript/pdf solves the problem dougmbarcellos commented on Aug 29, 2024
@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. jasreenka commented on Sep 12, 2024 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)
jasreenka commented on Sep 23, 2024 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?
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|