Plugin Author
Amauri
(@amauric)
Hi!
1) You can use:
– the CSS class body.wpmobileapp
– the PHP function is_wpappninja() [return true if in the app]
2) On Android push is ON when the user install the app, on iOS a prompt is displayed.
You can add a link to open the settings: /?wpapppushconfig=1
3) On your wpmobile dashboard you can regen the app: https://wpmobile.app/en/dashboard/
Thank you very much for your answers! It seems that my emails didn’t get to you, i got “message delivery” replies.
How do i hide this bar http://prntscr.com/nnu1ip ? My app is not published yet.
Plugin Author
Amauri
(@amauric)
WPMobile.App > Configuration > Extra > Show the download banner on the website > NO
π
Thanks, it worked!
Two more questions, pls!
1) When i test my app with your Android WpMobile.App i see another gray banner on top http://prntscr.com/np9akq ? Where can i disable this one?
2) Also, the app doesn’t open with my homepage, it opens with the first article on that page. Why?
Thank you!
The app was published on Google Play, but this issues are still there. I tought that maybe those were only on your testing app, but they appear on production too π
I think i fixed those now, but how do i regenerate the app?
When i try to upload the apk to google play i get this error: Upload failed
You need to use a different version code for your APK or Android App Bundle because you already have one with version code 10000425.
Plugin Author
Amauri
(@amauric)
No need to update the apk.
The content and settings are synched automatically.
You need to update the apk if you change the app name, the logo, or the splash screen (an update button is displayed on the dashboard if an update is required).
I noticed now this small refresh link, who does the update: http://prntscr.com/npd8i6
But how do i remove that gray toolbar https://prnt.sc/np9akq ? I use my wordpress theme, not wpmobile.app theme, is that the toolbar for your theme menu?
So many questions, client nervous and your answers come very slow… π
A 5 min chat with you would have solved all my issues faster. Is that possible?
-
This reply was modified 7 years ago by
supremero.
Plugin Author
Amauri
(@amauric)
The gray bar is displayed when you browse a website different than the main domain of your app.
To remove the bar on an another website, add somewhere the css class “wpappninja”
For example: <span class=”wpappninja”></span>
It shows in the app, is the same domain.
I will try to add that span in the body of my website.
Will it work too if i disable this option “Open all links in the internal browser”?
Plugin Author
Amauri
(@amauric)
Without this option external pages will be opened in the browser of the phone.
I did both and the gray banner is gone. Thanks!
-
This reply was modified 7 years ago by
supremero.
I was wrong, the gray bar is still there…
Also, i added a h1 in my header, then hide it. Is not visible on the website, but is visible on my app. The app somehow cache it. How do i update the app? I disabled the “cache” option in the wordpress plugin, but the app is not refreshed.
Can i give you access to the website and help me with these issues so i can finish this app at once?
Plugin Author
Amauri
(@amauric)
Try to enable the option “Always refresh the app content” under Settings > Cache, maybe it’s related to a cache plugin in the website.