• Resolved supremero

    (@supremero)


    Hello,

    I have few questions:

    1) Is there any way to hide some parts only on mobile app and to leave them visibile on mobile website? If yes, please help with code snippet.

    2) How your push notifications work? Are they activated by default? Or this depends on user’s phone settings? Can i put a button on the app which will trigger a popup to accept notifications?

    3) When i generate the app, the logo and splashscreen images are blank. I made some changes to the website, but how do i regenerate the apk and images archive?

    Thanks!

Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Author AmauriC

    (@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/

    Thread Starter supremero

    (@supremero)

    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 https://prntscr.com/nnu1ip ? My app is not published yet.

    Plugin Author AmauriC

    (@amauric)

    WPMobile.App > Configuration > Extra > Show the download banner on the website > NO

    ??

    Thread Starter supremero

    (@supremero)

    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 https://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!

    Thread Starter supremero

    (@supremero)

    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 ??

    Thread Starter supremero

    (@supremero)

    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 AmauriC

    (@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).

    Thread Starter supremero

    (@supremero)

    I noticed now this small refresh link, who does the update: https://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?

    Thread Starter supremero

    (@supremero)

    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 5 years, 6 months ago by supremero.
    Plugin Author AmauriC

    (@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>

    Thread Starter supremero

    (@supremero)

    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 AmauriC

    (@amauric)

    Without this option external pages will be opened in the browser of the phone.

    Thread Starter supremero

    (@supremero)

    I did both and the gray banner is gone. Thanks!

    • This reply was modified 5 years, 6 months ago by supremero.
    Thread Starter supremero

    (@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 AmauriC

    (@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.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Hide parts on mobile and push notifications’ is closed to new replies.