WordPress LMS for Web and mobile Forums Ionic App Support images not loading after login in app Reply To: images not loading after login in app

Reply To: images not loading after login in app

WordPress LMS for Web and mobile Forums Ionic App Support images not loading after login in app Reply To: images not loading after login in app

#14475

Alex
Keymaster

1. images are not loading due to Jetpack cdn images issues. We are caching images in app that shows the cached image .This cached image is first downloaded in device mapped with the image url . When the image url matches that image is loaded . The script is not able to download that image right from cdn .So disabling Jetcpack Cdn feature will load the images in app .

 

2. Facebook and google logins are bit complicated to setup .refer these tutorial to configure them properly .you would need to add the fb and google cordova plugins again by running commands and then add correct sha1 value to google app console and correct hash key in fb developer app settings .

https://www.djamware.com/post/59ad3a0c80aca768e4d2b135/login-with-ionic-3-and-cordova-native-facebook-connect-plugin

(skip the coding part)

https://devdactic.com/google-sign-in-ionic-firebase/ 

 

 

3. Well we are using basic ionic tabs template .the navigation is like a stack in ionic apps .So when the topmost page is popped out and final page is there and user taps back it exits the app due to android UI . What we are going to do to handle it to pop up a notification that will show “Press back again to exit” like other apps handles this in next update of wplms app.

 

4. for  videos please make sure that unit type it set to  ” video ” use iframevideo shortcode it will render in app : http://prntscr.com/k2ewg6

use the iframevideo shortcode like this :

[iframevideo]iframe-code[/iframevideo]

example :

[iframevideo]<iframe src="https://www.youtube.com/embed/MFtX9ussRKk" width="560" height="315" frameborder="0" allowfullscreen=""></iframe>[/iframevideo]