Firstly, Let me give the target product a brief introduction。
As following, there are two buttons in the first picture,Click the test button it will jump to the second picture.
The code of click event is shown as following.
The templateurl (http://m6pkka1x.xiaomy.net:16002/api/h5/index?t=1634193406439)
is a html called remotely.
Ok, the projects seems very normal on the vofuria studio preview.
Next, when I deploy the project and use voforia view to experience this service.The page cannot be load after I click the test button.
Its the **bleep**ing problem i wanna to ask u.I already go **bleep**ing crazy.
Finally whats the cause of the problem.I think it may be one of the following situations.
1. is the url above should be a https type? According to log, this URL was not called at all
2. is the Published process comes up a error that i have missed
3. the log of vofuria studio says a error belowing
Error: ENOENT: no such file or directory, 'C:\Users\Administrator\Documents\VuforiaStudio\Projects\_____2\dist\lib\cdn\angular-sanitize.min.js.map'
can this be the cause of the problem.
I really hope to get your advice and help. I'm going to collapse.
Hi @JY_10080253 ,
so far i see there are 2 points:
1.) Behavior in the Vuforia View on your $http post request. Possibly here is an issue which is related to CORS restriction e.g.. handled int the following posts:
It could be helpful to reproduce the issue when you activated the verbose logging
1. In Vuforia View, to enable verbose scan this QR code
In popup named Enable the behavior ? with the message Would you enable verbose-logging ?, click the button Enable
3. To disable the verbose, scan again QR Code
4. In popup named Disable the behavior ? with the message Would you disable verbose-logging ?, click the button Disable
//=========
Where you could find the Vuforia View log file on device:
iOS
Android
Windows Surface
HoloLens
Another options here is to share the logs by calling the link :
vuforiaview://ptc.com/command/share-logs
or when you scan the QR code :
2.) A second point is the error message when you upload the Experience project to the Experience Service. What is there the error number in Studio log?
Regarding to the issue in point 2 with the error : reporting problem with the angular-sanitize.min.js.map. I checked internally and there is an issue reported in the past which is related to an error in the JS code where the wrong view name was use, So possibly you can check the used view name if there are some special characters - for the widget names but also if there is some call in the javascropt. At least if you used such special character you can replace them for a test to ensure if this is the reason in your case.
Thanks verymuch, I'll check the problem with your suggestions later
Here is the detail error.I think that Since it can be previewed on the computer, maybe this error is not the main reason
[2021-10-15T00:55:13.418Z] error: [twx-studio:index] Server error 584e2c16-45d7-45bb-81ea-2f50ab0b80cb [Error: ENOENT: no such file or directory, stat 'C:\Users\Administrator\Documents\VuforiaStudio\Projects\_____2\dist\lib\cdn\angular-sanitize.min.js.map'] {
errno: -4058,
code: 'ENOENT',
syscall: 'stat',
path: 'C:\\Users\\Administrator\\Documents\\VuforiaStudio\\Projects\\_____2\\dist\\lib\\cdn\\angular-sanitize.min.js.map',
expose: false,
statusCode: 404,
status: 404
}
@JY_10080253 thanks for the feedback!
Yes this error was what I mentioned in my pervious post ->
@RolandRaytchev: This is a great functionality but unfortunately it doesn't work at my device. I use an iPad with Vuforia View 9.2.3, go into scan mode, scan the code and receive the message "Invalid qr code". What did I do wrong?
Hi @whity ,
thanks for the feedback!
I checked the internal documentation - and it seems that the enabling of verbose logging is valid only for android and windows platform (the first QR code from the previous post) . So that it will not work for IOS. The second QR code for sharing the log should work for all platforms.
Thanks