Comments (5)
@bradmartin
I got it finally .. I think the problem come since that the topmost
is deprecated with the latest version of tns-core-modules
- my first App run with
ths-core-modules
:v6.0.1
and the"@nstudio/nativescript-loading-indicator": "^1.0.0"
- the second one run with
ths-core-modules
:v6.2.3
and the"@nstudio/nativescript-loading-indicator": "^2.0.0"
I do update the first one like the second one an I have received same crash .. the I do the inverse and my project dose work as expected
Other observations : like I sed, I have tabView as a root and for each TabViewItem I have a Frame inside, the ONLY event that prevent the crash is naigatingTo
.. I tried loaded, nevigatedTo
and all of this do a crash ! To prevent the crash and keeping all event wok I tried the BottomNavigation and this prevent the crash !!
from nativescript-loading-indicator.
Not off top of my head, that seems really odd since the topmost()
function should/is in nativescript's core-modules still.
Are you doing anything differently with this project? Maybe calling the loading-indicator at a time in the app where something is possibly undefined 😕not really sure.
from nativescript-loading-indicator.
I confirm that the error come from this module, I have debugged a lot today .. and when I disable all loader show()
and hide()
than Android dose not have a problem any more !
Only show
method who dose the crash !
I work on the latest version of NS ans same for tns-core-modules
and using the v2.0.0 for this module
from nativescript-loading-indicator.
Hi @bradmartin ,
Any work in progress for this issu ?
Thanks
from nativescript-loading-indicator.
@NathanaelA please found this sample .. loading will work fist load .. if you change the tab and go back the app will crash !!
Crash info
[Galaxy S10]: An uncaught Exception occurred on "main" thread.
Calling js method onSelectedPositionChange failed
Error: android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running?
StackTrace:
LoadingIndicator._createPopOver(file:///data/data/org.nativescript.preview/files/app/@nstudio/nativescript-loading-indicator/loading-indicator.js:227:27)
at LoadingIndicator.show(file:///data/data/org.nativescript.preview/files/app/@nstudio/nativescript-loading-indicator/loading-indicator.js:38:22)
at HomeViewModel(file:///data/data/org.nativescript.preview/files/app/home/home-view-model.js:9:16)
Please I have disabled this plugin from all my apps because is crash it
from nativescript-loading-indicator.
Related Issues (20)
- Files missing after removing and adding plugin. HOT 4
- App crushes on show function HOT 2
- Loading-indicator never closes HOT 3
- Message and Details are not displayed on iOS HOT 6
- Mode: Indeterminate won't close in Android and iOS HOT 3
- Android is error, using Nativescript 6.0.0 HOT 8
- Android: Hide method does not work if navigation performed by Service. HOT 1
- Error building iOS: CDN: trunk URL couldn't be downloaded... HOT 5
- Does not work in modal HOT 10
- Error: Cannot find module '@nativescript/core/color' (CoreFoundation) *** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: Error: Cannot find module '@nativescript/core/color'
- Cannot find name HOT 4
- Android layout-issue after calling application.off(application.orientationChangedEvent); HOT 1
- Long messages do not line break in iOS HOT 1
- Loading text not displaying HOT 1
- Android: loading-indicator and orientation change HOT 1
- {N} 7 Error creating Loading Indicator Pop Over: Cannot read property 'drawable' of undefined HOT 10
- Feature request: Add a delay option for showing the indicator
- Loader hides in iOS
- Android Issue : Error creating Loading Indicator Pop Over: Cannot read property 'android' of null
- JS: Error creating Loading Indicator Pop Over: Cannot read property 'getResources' of undefined HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativescript-loading-indicator.