I made a chrome web store application and i lost the manifest.json file of the last version. Is there any way to get this file from the Developer Dashboard?
From the Developer Dashboard, click More Info for the app.
In the popup there is a link labeled Download: main.crx
Click the link to download your app's crx file.
Open the crx file in any zip file manager. It will include the manifest.json for the app.
Related
I actually want to open installed AutoCad desktop application on the click of a button present in my flutter web application.
I searched for this on internet but couldn't find any answer.
1. Is there any way to open installed application on windows or mac from a flutter web on click of a button?
2. Is there any package available?
3. Do I need to right any native code?
Get the path of the software like.. C:\Program Files\Autocad\... then use url_launcher to open the file on the click of the button.. but as per the documentation states, you should check if the file exists or not before opening it
I have a PWA that caches the app for offline use. Where are the files stored when you install the PWA and how do I locate them?
The browser stores these files for you. You can browse them via DevTools.
In Chrome you find them under DevTools => Application Tab => Cache
But I don't think you can locate them via file browser.
I have a website made with flutter web. My app which shows google admob ad. Now google admob told me to create an app-ads.txt file on my website . Flutter web is a single page website so, is it possible to create an app-ads.txt file with my flutter web app !?
I also recently tried flutter web. I went on a "fishing expedition", and managed to solve this issue.
What i did:
Place your app-ads.txt in <project>/web folder.
Run flutter build web
Check that app-ads.txt appeared in build/web folder.
Check that in build/web/flutter_service_worker.js in RESOURCES map appeared a record with key "app-ads.txt"(ex. "app-ads.txt": "4c75380ac52243715a448e96239e0ca5",)
Run firebase deploy --only hosting
After this, app-ads.txt should be available on https://your-domain.web.app/app-ads.txt, https://your-domain.firebaseapp.com/app-ads.txt and(if you added a custom domain) on https://my-custom-domain.com/app-ads.txt.
P.S. If you got redirected from /app-ads.txt to your main page, then try to clear your site cache:
Press F12
Open "Application" tab
Choose "Storage"
Press "Clear site data"
After this, app-ads.txt should be available.
How can I download an existing file in my project to the user's device?
In my project, there is a PDF file, which must be downloaded to the user's device. I tried to use url_launcher, but the Flutter Web in deploy did not recognize it.
When I am updating the logo of the PWA app the icon is not getting updated for the previously installed applications. However for newly installed apps I am getting the correct logo.
Did you try updating the new image icon in manifest.json & then showing a prompt to users to refresh the PWA?
You can try to have a look at the documentation for Android APK (from the question is not clear your target device: web or mobile).
Chrome will periodically compare the locally installed manifest against a copy of the manifest fetched from the network. If any of the properties in the manifest required to add the PWA to the home screen have changed in the network copy, Chrome will request an updated WebAPK, reflecting those new values.
This feature is not yet available for desktop, but planned in a future release.
Do you use any framework (Angular, React) to build your PWA? If you want to read more details about how to install an app on the homescreen or the web manifest properties, you can have a look here.