You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I saw the last year, a lot of plugins had issue when come to get the root/current window or the root/current controller, I personally contributed to 5 of them to fix those issues.
The problem that depending of what is the current controller or root or activity the result is not the same, the last issue was in the LoadingIndicator after the BarcodeScanner is closed the loader goes behind the activity or it is not shown at all because the current activity was the barcode scanner one, for that we need to add a helper that return the correct root/view/controller what ever.
I remember that there is still a issue with @nativescript/social-share until today on ios with this exacte problem.
This will be a huge relafe for plugin authors and will prevent a lot of issue for the future.
Here what I found from others plugins to get the correct one but I am sure you can do better :)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi @NathanWalker, @triniwiz, @rigor789, @farfromrefug
As I saw the last year, a lot of plugins had issue when come to get the root/current window or the root/current controller, I personally contributed to 5 of them to fix those issues.
The problem that depending of what is the current controller or root or activity the result is not the same, the last issue was in the
LoadingIndicator
after theBarcodeScanner
is closed the loader goes behind the activity or it is not shown at all because the current activity was the barcode scanner one, for that we need to add a helper that return the correct root/view/controller what ever.I remember that there is still a issue with
@nativescript/social-share
until today on ios with this exacte problem.This will be a huge relafe for plugin authors and will prevent a lot of issue for the future.
Here what I found from others plugins to get the correct one but I am sure you can do better :)
IOS
ANDROID
Beta Was this translation helpful? Give feedback.
All reactions