Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

Buggy Appery youtube component

This issue caused us a great deal of debugging time and bit of frustration. I had implemented geolocation as wells as Facebook login and found that these service either would hang unpredictably (former) or behave erratically (latter) as we navigated across pages of the project. What was eerie was that everything worked well in browser, on iOS Appery tester, as well as Android device. But things consistently didn't work well on iOS device.

It turned out that we discovered using Xcode logs that whenever we navigated to a page that had Appery youtube component on it, geolocation failed and facebook login implementation behaved erratically.

We've removed the youtube component and things work well on iOS devices.

I am writing this note so this can be prevented for others users in the community. I would recommend Appery to consider removing the component, and as a matter of principle not make things/components part of their UI unless its thoroughly tested.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Buggy Appery youtube component

Hi Cody,

Thanks for this info.

Could you please create new simple app with simple demonstration of this bug?

We will report and fix asap it.

It's very important for us to prevent components from bugs.

Regards.

Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

Buggy Appery youtube component

Hi Yurri,

Please see attached screenshot which shows a sample response in Xcode logs whenever a page containing youtube component was navigated to. Once a user is on this page and they go to another page with geolocation service (e.g. below), the geolocation failed.
http://devcenter.appery.io/tutorials/...

I am happy to send you the backup of buggy code. But you could reproduce the problem with

1) Page 0 as start page that takes user to Page 1 on opening of app.
2) Page 1 having Appery youtube component (mapped to a real sample youtube video) and a button to navigate to page 2
2) Page 2 having geolocation service with back button to Page 1.

To reproduce the issue, open app on iOS device. On page 1 show, press the button to navigate to page 2 where geolocation is invoked: it should work fine. Then navigate back to page 1, and then to page 2 again. I believe navigation should fail on iOS device (should work well elsewhere).

Regards.
Image

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Buggy Appery youtube component

Hi Cody,

Thanks for this info.

We will test it and come back with update.

Regards.

Mohammad Salek
Posts: 0
Joined: Fri Oct 03, 2014 9:39 am

Buggy Appery youtube component

Hi Cody,

I created an app with a Youtube component on one page (already mapped to a video) and Geolocation service on the other page with the back button to the Youtube page. I tried to go back and forth between those pages and the Geolocation service still works fine for me every time. Just to mention, sometimes, I needed to click on the button for "show my location" (This button is based on the format of Geolocation tutorial) several times in order for it to work, but it works at the end. By the way, I used an iPhone 4 with iOS 6.1.3 during my test. Let us know if it still doesn't work for you, so we can investigate this issue furthermore.

Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

Buggy Appery youtube component

Hi Mohammad,

Thanks for reporting the update to the forum. I am happy to take a look at the implementation if that helps. If so please please feel free to share it with me.

Regards

Mohammad Salek
Posts: 0
Joined: Fri Oct 03, 2014 9:39 am

Buggy Appery youtube component

Hi Cody,

Thanks. I attached screenshots of my 2 pages here for you with their corresponding events. I followed the tutorial for "Building an app with Google Maps & geolocation" step by step for my second page with Geolocation service and for the first page, I linked the Youtube component to a random video on Youtube. I'll be glad to hear from you.

Image Image Image Image

Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

Buggy Appery youtube component

Hi Mohammad,

Its a bit hard without access to the code. Would it help if I sent you back up of my code where the issue was? You can also consider sharing on Appery this project/implementation with me.

Mohammad Salek
Posts: 0
Joined: Fri Oct 03, 2014 9:39 am

Buggy Appery youtube component

Hi Cody,

I shared my app with you and its name is "iOS Youtube". I'm looking forward to hear from you on this matter.

Return to “Issues”