[JoyFreak] Custom PWA

XF 2 Tip [JoyFreak] Custom PWA 1.0

No permission to download

swiss

Collaborate
Collaborate
Registered
Joined
Nov 13, 2019
Messages
103
Points
153

Reputation:

swiss submitted a new resource:

[JoyFreak] Custom PWA - Make your PWA feel like a real app.

Open template PAGE_CONTAINER:

Find:
HTML:
<link rel="manifest" href="{{ base_url('webmanifest.php') }}">

Replace:
Code:
<link rel="manifest" href="{{ base_url('webmanifest.json') }}">

1. Download the webmanifest.zip and extract the contents onto your desktop.

2. Open file webmanifest.json with notepad:
Edit all areas that say "EDIT". It's pretty self explanatory and you can use the default webmanifest.php as guidance if you've set it all up in the Admin CP > Setup >...

Read more about this resource...
 

Gursher

Active member
Registered
Joined
Jun 11, 2020
Messages
38
Points
18

Reputation:

Capture.PNG

why its not working in mobile version.. when i click on install but nothing happens ?
any help ??
 

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,066
Points
173

Reputation:

in xf 2.2.x setup it at /admin.php?pwa/
 

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,130
Points
823

Reputation:

What support do you need?
 

swiss

Collaborate
Collaborate
Registered
Joined
Nov 13, 2019
Messages
103
Points
153

Reputation:

Press f12 > application tab > manifest

check if there is any issues
 

UltraPyromane

Active member
Registered
Joined
Mar 27, 2023
Messages
36
Points
18

Reputation:

Which line is:????

<link rel="manifest" href="{{ base_url('webmanifest.php') }

I can't find…
 

UltraPyromane

Active member
Registered
Joined
Mar 27, 2023
Messages
36
Points
18

Reputation:

Once again:

I can't find the column where I should replace the code. With me I only find something similar, like:

Code:
    <meta name="apple-mobile-web-app-title" content="{{ $xf.options.boardShortTitle ?: $xf.options.boardTitle }}">
    <xf:if is="property('publicIconUrl')">
        <link rel="apple-touch-icon" href="{{ base_url(property('publicIconUrl', true)) }}">
    <xf:elseif is="property('publicMetadataLogoUrl')" />
        <link rel="apple-touch-icon" href="{{ base_url(property('publicMetadataLogoUrl')) }}" />

Could someone tell me where the column with this code is in XF 2.2?

Code:
<link rel="manifest" href="{{ base_url('webmanifest.php') }}">

Thanks.
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,497
Points
523

Reputation:

Once again:

I can't find the column where I should replace the code. With me I only find something similar, like:

Code:
    <meta name="apple-mobile-web-app-title" content="{{ $xf.options.boardShortTitle ?: $xf.options.boardTitle }}">
    <xf:if is="property('publicIconUrl')">
        <link rel="apple-touch-icon" href="{{ base_url(property('publicIconUrl', true)) }}">
    <xf:elseif is="property('publicMetadataLogoUrl')" />
        <link rel="apple-touch-icon" href="{{ base_url(property('publicMetadataLogoUrl')) }}" />

Could someone tell me where the column with this code is in XF 2.2?

Code:
<link rel="manifest" href="{{ base_url('webmanifest.php') }}">

Thanks.
UltraPyromaneAs mentioned in the page container template.
Best would be to create a template modification
 

UltraPyromane

Active member
Registered
Joined
Mar 27, 2023
Messages
36
Points
18

Reputation:

I managed everything, but one more mistake...

Mobile it does not show me the "Install" button, but on the PC under developer tools it is there, how do I get the mobile displayed?



Bildschirmfoto 2023-09-10 um 16.46.58.jpg
 
Top