diff --git a/.env.example b/.env.example index 4fe8ec3c8..eeb61f00f 100644 --- a/.env.example +++ b/.env.example @@ -110,6 +110,12 @@ SLACK_CLIENT_SECRET= ## Mobile app env variables IOS_APP_ID=6C953F3RX2.com.chatwoot.app + +### Smart App Banner +# https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/PromotingAppswithAppBanners/PromotingAppswithAppBanners.html +# You can find your app-id in https://itunesconnect.apple.com +#IOS_APP_IDENTIFIER=1495796682 + ## Push Notification ## generate a new key value here : https://d3v.one/vapid-key-generator/ # VAPID_PUBLIC_KEY= diff --git a/app/views/layouts/vueapp.html.erb b/app/views/layouts/vueapp.html.erb index 40d9b7a1b..dfe100726 100644 --- a/app/views/layouts/vueapp.html.erb +++ b/app/views/layouts/vueapp.html.erb @@ -10,6 +10,9 @@ + <% if ENV['IOS_APP_IDENTIFIER'].present? %> + '> + <% end %>