Pierre Gallaz
Posts: 0
Joined: Wed May 20, 2015 11:52 am

Where do asset files get moved after updating the libraries from 2.2 to 3.0?

Hello,

I used version 2.2 of the libraries. Because of another issue, I was advised to update the libraries to 3.0.

I did the update.

Now there are mp3 files that I can't find anymore; I know they are somewhere, because the zip, xap and ipa sizes are the same as before.

Using libraries 2.2, these mp3 files were stored in:
"WEB_RESOURCES/​files/resources/audio/"

Using libraries 3.0, they should be in:
"WEB_RESOURCES/​app/files/resources/audio/"

But they are not there.

Where are those files now in the source tree?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Where do asset files get moved after updating the libraries from 2.2 to 3.0?

Hello,

The image paths were changed in 3.0 libraries version https://devcenter.appery.io/documenta...
Please clarify, have you uploaded mp3 files to Sources manually?

Pierre Gallaz
Posts: 0
Joined: Wed May 20, 2015 11:52 am

Where do asset files get moved after updating the libraries from 2.2 to 3.0?

I uploaded them manually in the source using appery.io's interface ("upload to this folder").

Again, I uploaded them to "WEB_RESOURCES/​files/resources/audio/", so I did not use the image folder at all.

Do you think I should go back to 2.2 to see if they come back in the old folder?

I have the files and I can upload them again, the problem is that they are still hidden somewhere, and if I upload them again, the XAP-IPA-APK size will be over 100mb for no reason because every mp3 file will be present 2 times...

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Where do asset files get moved after updating the libraries from 2.2 to 3.0?

We are investigating your problem, please do not change library now.

As I see there is manually uploaded audio file in WEB_RESOURCES/app

Size is big because of local audio files.

Please tell us:
1) Test credentials if login functionality is implemented in your app
2) Detailed steps to test the issue

Pierre Gallaz
Posts: 0
Joined: Wed May 20, 2015 11:52 am

Where do asset files get moved after updating the libraries from 2.2 to 3.0?

Yes, the 1 file you are talking about was moved from "WEB_RESOURCES/​files/resources/audio/" to just "WEB_RESOURCES" when I was still using libraries 2.2 because someone from your staff advised me to try this to correct another problem I had (and still have) with playing locally stored audio files in the Windows Phone build.

All the other files were kept in "WEB_RESOURCES/​files/resources/audio/", and those are the files that are impossible to find after the update.

1) There is no login functionality.
2) Testing the issue

I have 5 locally stored files:

1: epc_bodyscan1.mp3

stored under "WEB_RESOURCES" under 2.2, automatically moved to "WEB_RESOURCES/app" under 3.0, it plays fine using the audio control with "epc_bodyscan1.mp3" as src. (image 1)

2: epc_assise_sans_douleur.mp3
3: epc_respiration1.mp3
4: epc_silence_1_coup_par_10_minutes-GW.mp3
5: epc_yoga.mp3

stored under "WEB_RESOURCES/​files/resources/audio/" under 2.2, they were moved SOMEWHERE! The audio controls used to play them without problem using the src: "/files/resources/audio/FILENAME.mp3". Now they can't play them (the audio controls are grayed since the files are not stored in that path anymore) (image 2).

The files are impossible to find in the source. I don't know where they were moved, but I can show that they are still somewhere by compiling the app as an HTML app and opening the ZIP archive: epc_bodyscan1.mp3 is in the "/app" folder, and the 4 other files are in "/files/resources/audio". So they are still stored somewhere in the source.

What I would need from you is one of those 2 things:

a) either a way to move the files 2,3,4 and 5 to the same path as epc_bodyscan1.mp3 in the source ("WEB_RESOURCES/app")

b) or a way to delete the files from the source so that I can upload them again in the "WEB_RESOURCES/app" folder.

Any of the two options would be fine for me.

Image Image

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Where do asset files get moved after updating the libraries from 2.2 to 3.0?

Pierre,

I have checked your project on Android device and audio does not play as well.
I've tried with newly uploaded audio and works as expected.
Please delete and upload local file again, now it's stored in WEB_RESOURCES/app.

We'll check additionally and tell you where are stored other files.

Pierre Gallaz
Posts: 0
Joined: Wed May 20, 2015 11:52 am

Where do asset files get moved after updating the libraries from 2.2 to 3.0?

"Please delete..."

How can I delete files if I can not find them in the source? :-)

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Where do asset files get moved after updating the libraries from 2.2 to 3.0?

Hello Pierre,

Please create a folder "files" in the sources tab: http://prntscr.com/9v4j0a
save project and refresh the page. It'll fix that issue.

Pierre Gallaz
Posts: 0
Joined: Wed May 20, 2015 11:52 am

Where do asset files get moved after updating the libraries from 2.2 to 3.0?

Thanks Sergiy.

I created the folder, nothing appeared in it even after refresh but when I deleted it, the invisible mp3 were also deleted. I will now upload them again, this time directly into the /app folder and use filename.mp3 as src for every audio control.

Problem solved. Thanks again.

Now I will focus again on my original issue with Windows Phone!

Return to “Issues”