Open Emanuele-Fortunati opened 4 years ago
Hi!
Interesting issue.
Can you share a sample app on Github which I can clone that demonstrates the issue? It could be a fork of this repo of course.
Hi @EddyVerbruggen sure thing, I've recreated what shown above in this Demo AR App. I've stripped out all from my original app, except the AR plugin. I've tested it on my iPhone Xr, iOS 13.2.3.
To do some extra test, you can also try:
Please let me know if you can reproduce it too and if there's anything else I can do. In the meanwhile I'm still debugging too, if I find a solution I'll post it here :)
Make sure to check the demo app(s) for sample usage
Done.
Make sure to check the existing issues in this repository
Done.
If the demo apps cannot help and there is no issue for your problem, tell us about it
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
tns --version
to fetch it): 6.2.1node_modules/tns-core-modules/package.json
file in your project): 6.2.1"tns-android"
and"tns-ios"
properties in thepackage.json
file of your project): tns-ios 6.2.0package.json
file of your project and paste your dependencies and devDependencies here) "dependencies": { "@angular/animations": "~8.2.0", "@angular/common": "~8.2.0", "@angular/compiler": "~8.2.0", "@angular/core": "~8.2.0", "@angular/forms": "~8.2.0", "@angular/http": "8.0.0-beta.10", "@angular/platform-browser": "~8.2.0", "@angular/platform-browser-dynamic": "~8.2.0", "@angular/router": "~8.2.0", "nativescript-angular": "^8.20.3", "nativescript-ar": "^1.1.0", "nativescript-carousel": "^6.1.0", "nativescript-feedback": "^1.3.9", "nativescript-localstorage": "^2.0.0", "nativescript-lottie": "^4.0.1", "nativescript-mapbox": "^4.4.1", "nativescript-ng-shadow": "^2.1.0", "nativescript-platform-css": "^1.6.9", "nativescript-plugin-firebase": "^10.2.1", "nativescript-social-share": "^1.5.2", "nativescript-theme-core": "~2.0.2", "nativescript-ui-gauge": "^6.0.0", "nativescript-ui-sidedrawer": "7.0.0", "nativescript-videoplayer": "^4.2.1", "reflect-metadata": "~0.1.12", "rxjs": "^6.4.0", "tns-core-modules": "~6.2.0", "zone.js": "^0.9.1", "~app-config": "file:tools/~app-config" }, "devDependencies": { "@angular/compiler-cli": "~8.2.0", "@nativescript/schematics": "~0.6.0", "@ngtools/webpack": "~8.2.0", "nativescript-dev-webpack": "^1.3.0", "node-sass": "4.12.0", "typescript": "~3.5.3" },Please, tell us how to recreate the issue in as much detail as possible.
In a similar way to the app provided in the examples:
I've tried to programmatically remove the bigView BEFORE navigating back, both using NativeScript way and ios way directly, but although I see the view disappearing, the issue persists.
I've also tried to use the layoutSubview and needLayout way, but doesn't seem to work either, or at least I'm unable to use it correctly.
One thing I've noticed is: when I lock my screen after the bug happening, it seems the view repaint, and some parts of it becomes responsive again, but not all.
The problem is I can't see a way to remove this bigView layout / view / layer as the app keeps drawing it after it has been added to the AR Scene. In fact, if you do the same procedure WITHOUT calling imageTrackingActions.addUIView, there is no issue. So the bug must happen in there somehow.
Is there any code involved?
I think the above is pretty well detailed and the examples already present in the plugin can be used, just using VERY BIG view to be added to the AR Scene. Unfortunately, I can't share the original code as the app is under NDR.
I'm happy to provide further informations if that can help.
Thanks,
Emanuele