Hello Peter,
The way to know what Javascript produces certain action, is to take a look at the "app.js" file: we can do it from the program's menu too.
Hello Peter,
The way to know what Javascript produces certain action, is to take a look at the "app.js" file: we can do it from the program's menu too.
Hello
You must unblock the app in the "then" function, maybe at the beginning or just before "$scope.$apply()". On the other hand, you are trying to use "window.App.RootScope.UnblockApp", but, if I am not wrong, what you wanted is the Javascript code of the AB function... in this case is "blockUI.stop();" (without the quotes).
P.S. Please, Peter, consider to open another thread, maybe a "volume II" if you wanted.
No problem, Peter, I perfectly understand it! :-)
Hola Jordi,
Habría que ver eso de que la app "se estrella"... por lo demás, si es lo que estoy pensando, tal vez no pueda hacerse, Jordi, es decir, iniciar la cámara sin la intervención del usuario... probablemente no es posible... pero debe estar documentado esto en la página del plugin... o acaso se pueda preguntar en el soporte del plugin (suele ser en GitHub) y/o intentar buscar esa información entre los posibles usuarios del plugin (buscar en Google, vaya).
Pero ya digo, me extrañaría mucho que pudieras iniciar la grabación sin la intervención del usuario... acaso dando algún permiso especial o algo así... pero no tengo idea, Jordi, lo siento. :-(
Hello Danny,
Of course, you can send any feedback to me, using my E-Mail address too.
Hello Danny,
No problem! In fact and as I mention before, this probably must be better referred in the help.
Hello Peter,
If I am not wrong (and am I thinking in the same quotes), the quotes are placed in your code because is required, that is, "Title 1" is a string value, therefore must be placed inside single or double quotes in Javascript.
However, talking about variables, we no need the quotes, in fact, if we use the quotes, what is used is the name of the variable, to say like that, so the below code must work:
Hello Danny,
Yes; this probably must be explained better in the help. Look at the below GIF image:
Hello Peter,
Please, don't worry at all! I am happy to help when possible! So don't hesitate to ask what you need, but, please, try to be specific, so we can focus on certain specific error, unexpected behaviour, etc. For example, Firebase appear very interesting, but, my god, I have no time right now to study Firebase properly... (and unfortunately I don't know it already) but as you can see I can help anyway... by feed the Report, for example, etc.
Maybe in other situations I can deep into certain API, etc., but, right now I am really busy... and I am sorry for that.
P.S. About the IE 11 problem... I try this way:
But then I fall from my horse, because the error which appear in the console is related with the "firebase.js" script... so I am not sure (right now) what happen... but to me is strange to avoid IE 11... maybe at least this must me documented in some where... at least one thing can be added here: testing the app in Microsoft Edge works as expected...
P.S.2. My modified code don't work even in Edge... so don't think on use it, but use the code that works like expected. :-/
Hello Sytsma,
Please, refer here the SQLite library that you are using. The file that you add using the File Manager is placed inside the app, so probably something like "name: 'pts.db3'," can't work, since we need to refer to the file using a relative path like "app/files/pts.db3". Please, try that file path, and take a look at the app files and assert hat "pts.db3" is certainly in the "app/files" diretory as expected.
I am not completely sure if that file can be writable in a platform like Android... but you can see this later... the first thing is to provide the right path for the file and see what happen: even if we can't write to the database, in principle we can read it, so we can test if we can read it.
Hello Peter,
I am wrong... we can't assign the variable directly to the Report's Data... we must do something like the below:
You can try that code "as is" in the app sample that you sent to me before. Right now I am not sure if the above code cause that the stuff don't work in IE 11... or if is the core code of the library... maybe the above code can be changed to work in IE 11 too...
Hello Peter,
If I am not wrong, you can modify your code in order to do something like this:
"querySnapshot" is already an Array of objects, which is what the Report.Data must be.
I think we are talking about Javascript objects variables with their properties and values, because, what else? Maybe some defined data structure provided by the Firebase Javascript? We must talk about objects... but maybe "masked" by that structure...
Anyway... what is the problem, Peter? Sorry but I start to miss around (maybe we are mixing various things at the same time, and it's better to be more specific I think) can you output in the console the values that you get from the database? If so, what you can see? Is that the problem now?
P.S. If I am not wrong, the Firebase Javascript related code have some problem to run in Internet Explorer 11... you need to search around this too... and see if, in case that that code can't work in Internet Explorer 11... asume that the app can't work in Internet Explorer 11...
Hello Peter,
So maybe what happen is that the Firebase related Javascript is not compatible with Internet Explorer 11 (which is the internal debugger browser)? About the output... are you sure that we are not talking about JSON too? Maybe with a different format, to say like that... but finally some JSON objects?
Hello Peter,
If I am not wrong, the "console.info" don't work.... in the internal debugger... but for sure work if you try the app in a browser like Firefox with the developer console opened... so look if you can see something there... because at a first view the "Promise is undefined" error message don't say too much...
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.