Page 1 of 2
Add files limitations
Posted: Fri Dec 13, 2013 2:51 pm
by Ivan6481911
Hi.
I have issue with adding js files into project. I create New Java Script file named "js_file", but when I test the app in browser there is no such file "js_file" in Resources in firebug. But files, which were added before me are present. It seems, that I have no rights for that. The project was created by other person and I was added to some team in Appery. Is it possible that I have no all permissions?
I have created new app and everything works as it should (pages created, files added).
Can you tell me if there are some restrictions or link to read about it. Thanks!
Add files limitations
Posted: Fri Dec 13, 2013 3:39 pm
by Kateryna Grynko
Hi Ivan,
We do not have such limitations. Probably you look for it in a wrong place. Do you save your project after adding a file? Please post screenshots where we can see this file is added to your app and there is no such file in Firebug - Resources.
Add files limitations
Posted: Tue Dec 17, 2013 4:09 pm
by Ivan6481911
Add files limitations
Posted: Tue Dec 17, 2013 6:47 pm
by Kateryna Grynko
Hi Ivan,
Please open page source and find all the connected script files in header. You'll see this file there.
Add files limitations
Posted: Thu Dec 19, 2013 9:41 am
by Ivan6481911
Hello!
I have tried more and more to add js files, but no use. Yes, you are right and js file is in connected in source code, but it is not included. I created service with js file on the 4-th screen and exception occurs on the 1-st screen. Therefore first screen fails with error "undefined" for js file, which I created, but it is not included.
What did I try before start application:
- clear caches (few times);
- save (few times);
Perhaps, there are some limitations (like I cann't make backups - only owner can. I am added to the team of the project.) ?
Also I have found another strange behaviour of the Appery. I created new local storage variable named "var1". Then, if I delete it and create new variable with the same name there will be ERROR that such variable is already created. I tried clearing caches, but no use. What did help - I deleted generic service, where I use this variable and local storage variable, cleared caches. After that I implemented new generic service with the same code and created new "var1" again.
The same problem occurs if I create generic service and response is mapped to js file. It seems, that Appery saves filed, but is not deleting like I am. Can you tell me the reason of such behaviour and possible ways to resolve those issues. Please, ask me if you have questions or specification. The screenshots above are actual and show my process. Thanks!
Add files limitations
Posted: Thu Dec 19, 2013 11:02 am
by Maryna Brodina
Hello! Have you changed anything on Source tab? Are there any blue colored files in WEB_RESOURCES folder?
Add files limitations
Posted: Thu Dec 19, 2013 11:27 am
by Ivan6481911
Yes, there two blue colored config.xml files in sources. Why are they blue? I saved the project every time before start. What does it mean?
I just reviewed and perhaps maybe white spaces. I have just made white space in other file and it turned blue also... What should I do after editing?
Add files limitations
Posted: Thu Dec 19, 2013 11:28 am
by Ivan6481911
Oh, sorry, I was talking about iOS and Android.
Add files limitations
Posted: Thu Dec 19, 2013 11:31 am
by Ivan6481911
There are some files blue in WEB_RESOURCES, but I did not make any changes.
I renamed startScreen to Splash Screen, but it is in that folder...
Add files limitations
Posted: Thu Dec 19, 2013 11:32 am
by Ivan6481911