Install a progressive web app on Android [bubblewrap]

  Рет қаралды 7,783

Daniel Persson

Daniel Persson

Күн бұрын

Пікірлер: 44
@aaronperl
@aaronperl 4 жыл бұрын
This was great, thanks! I'm going to bookmark this to come back to when I finish my current hobby-project, and see if it's helpful for getting an Android version.
@PledgeBass
@PledgeBass 9 ай бұрын
3 years later, doubt you will see this but just want to say you're extremely talented at this! I hope you have continued to do more tutorial / explanation videos. You keep things simple and well-paced. Cheers!
@DanielPersson
@DanielPersson 9 ай бұрын
Thank you for watching my videos. Been at this for 8 years, one video every week so I've done a couple. :) Best regards Daniel
@jimmyroserovallejo
@jimmyroserovallejo 7 ай бұрын
Todavia funciona ese tutorial ?
@DanielPersson
@DanielPersson 7 ай бұрын
Hi Jimmy I'm not sure. I have not used Bubblewrap for years, so try it. If you need more resources, the GitHub repository recommends a Google blog post explaining the steps individually. developer.chrome.com/docs/android/trusted-web-activity/quick-start/ I hope this helps. Thank you for watching my videos. Best regards Daniel
@jittu.mp4419
@jittu.mp4419 2 жыл бұрын
How do i remove or uninstall bubblewrap from my system?
@DanielPersson
@DanielPersson 2 жыл бұрын
Hi Jittu The main solution is to uninstall the npm package but there might be a bunch of dependencies you need to remove as well. Found an article on the topic, maybe it could help. careerkarma.com/blog/npm-uninstall/#:~:text=Uninstalling%20packages%20can%20be%20done,followed%20by%20the%20package%20name.&text=Using%20this%20syntax%20in%20the,folder%20of%20the%20current%20project. Best regards Daniel
@jittu.mp4419
@jittu.mp4419 2 жыл бұрын
@@DanielPersson can you please tell me the command lines to do it
@DanielPersson
@DanielPersson 2 жыл бұрын
Hi Jittu Well there is not a clean command line option to remove these. But removing your project or the node_modules directory and then run `npm cache clean`. I hope this helps. Best regards Daniel
@jhjhj2172
@jhjhj2172 4 жыл бұрын
its showing => cli ERROR Command failed: gradlew.bat assembleRelease --stacktrace when running bubblewrap build
@DanielPersson
@DanielPersson 4 жыл бұрын
Hi Vishal. Thank you for watching my videos. Try building it without bubblewrap.Run gradlew assembleRelease manually and you might get an stacktrace that tells you what Android SDK addons that might be missing for your application. I hope this helps. Best regards Daniel
@jhjhj2172
@jhjhj2172 4 жыл бұрын
@@DanielPersson Thanks allot,
@drakolubez6592
@drakolubez6592 3 жыл бұрын
Error: Could not find or load main class code\pwa I am getting this error after bubblewrap build command.... Where am I missing? Please help.
@DanielPersson
@DanielPersson 3 жыл бұрын
Hi Drako. Thank you for watching my videos. "Error: Could not find or load main class code\pwa" This will probably not work. Usually, you define your class names using a package name followed by the class. For instance, you could have a class called org.ea.MyPWA In this case, the package is org.ea, and the directory structure would be src/main/java/org/ea, and then you have a class with the name MyPWA. This is if you are using a maven structure for your files. So you probably have to change the definition of your main class to the actual running class, and then it would work. I hope this helps. Best regards Daniel
@drrashedhammad
@drrashedhammad 4 жыл бұрын
I STILL SEE THE URL BAR
@DanielPersson
@DanielPersson 4 жыл бұрын
Hi Rashed Thank you for watching my videos. There might be many reasons for this specific issue. One that is quite common and something easily forgotten is adding the assert link JSON file into your domain. domain.name/.well-known/assetlinks.json I hope this helps. Best regards Daniel
@drrashedhammad
@drrashedhammad 4 жыл бұрын
@@DanielPersson already added. But I quit PWA at all due to running in google message appears for users when they firstly download the app
@codelucky
@codelucky Жыл бұрын
Could you please suggest an alternative for iOS?
@DanielPersson
@DanielPersson Жыл бұрын
Hi CodeLucky. I don't think there is a good solution for iOS. Not even sure if Bubblewrap still is a thing. I would look into Flutter as a solution to reach both platforms in a good way. And if that is not an option then I guess native development is the way to go. Don't own any Apple products and because of their closed garden there is no way to cover or play around with it. Thank you for watching my videos. Best regards Daniel
@mittpwapush
@mittpwapush 2 жыл бұрын
Thanks for the video. How to remove the secure URL under the top bar. Is there a way?
@DanielPersson
@DanielPersson 2 жыл бұрын
Hi Robert. It's all about the site you visit. You need an assetlinks.json file that is correctly configured for that site. Very much similar to the manifest for a PWA application. It's mentioned in this github discussion: github.com/GoogleChromeLabs/bubblewrap/issues/48 I hope helps. Thank you for watching my videos. Best regards Daniel
@mittpwapush
@mittpwapush 2 жыл бұрын
@@DanielPersson Thanks this was the solution :-)
@fmwasalukwa
@fmwasalukwa 3 жыл бұрын
Is it possible to remove the action bar on the created app through bubblewrap?
@DanielPersson
@DanielPersson 3 жыл бұрын
Hi Frank. Thank you for watching my videos. I'm not sure if it works similar as with other PWA. But you can specify in the manifest that this is an standalone application and bubblewrap should pick up on that and remove the action bar. I haven't tried it recently so I don't know if it works. I hope this helps. Best regards Daniel
@jws1837
@jws1837 Ай бұрын
today, it doesn't now wokring because of minsdk 21 issue.
@mamiayadi8766
@mamiayadi8766 2 жыл бұрын
what's your os ? how did you make it like that
@DanielPersson
@DanielPersson 2 жыл бұрын
Hi Mami Thank you for watching my videos. I'm running Windows 10 at the moment. Best regards Daniel
@inovtech6436
@inovtech6436 3 жыл бұрын
Nice tuto I am so happy about it but I have one question to ask how to remove url navigation from bubblewrap
@DanielPersson
@DanielPersson 2 жыл бұрын
Hi Inovtech Thank you for watching my videos. It seems that they are working on that feature. You can follow the work over at github.com/GoogleChromeLabs/bubblewrap/issues/430 I hope this helps. Best regards Daniel
@kevlarkode
@kevlarkode 3 жыл бұрын
But can't we remove the url tab in the top of app. That will make it look and feel more native. If anyone has any solution pl share 🌚
@DanielPersson
@DanielPersson 2 жыл бұрын
Hi Kevlar Thank you for watching my videos. It seems that they are working on that feature. You can follow the work over at github.com/GoogleChromeLabs/bubblewrap/issues/430 I hope this helps. Best regards Daniel
@kevlarkode
@kevlarkode 2 жыл бұрын
@@DanielPersson thanks for the response man 👍
@jazelleanncapulilpt7365
@jazelleanncapulilpt7365 2 жыл бұрын
hi, how did you get the manifest json file?
@DanielPersson
@DanielPersson 2 жыл бұрын
Hi Jazelle. The JSON file is something you need to create and add to your webpage. There is a couple of good guides on W3C and Mozilla pages to understand the structure of the file. If you want a simpler way to generate the file, you can use a tool I used back then to create the first draft of my manifest: app-manifest.firebaseapp.com/ I hope this helps. Thank you for watching my videos. Best regards Daniel
@MsSouheib
@MsSouheib 4 жыл бұрын
hi , thanx for your tutorial it show me error invalid json responce body reason : unexpected token < in json at position 0 Can you help me please ?
@DanielPersson
@DanielPersson 4 жыл бұрын
Hi Sohail Thank you for watching my videos. Look in the developer console response body for the request. It sounds like you got an error in the server response and it shows you an HTML error page instead of the expected json data. Also look at the error code for more hints on the issue. I hope this helps Best regards Daniel
@okfax5932
@okfax5932 2 жыл бұрын
rename pwa manifest.json to manifest .json it worked for me.
@thelegaldrive
@thelegaldrive 11 ай бұрын
very useful overview thank you
@pratikgohil7821
@pratikgohil7821 3 жыл бұрын
thank you for the video👍
@StijnHommes
@StijnHommes 4 жыл бұрын
I don't need advice on how to install spam.
@DanielPersson
@DanielPersson 4 жыл бұрын
Hi Stijn Sorry if you got some solicitation from an ad on my channel. Can't really choose what they run. I'm a paying KZbin user so I never see any ads and have not seen one for 4 years so it's hard for me to gauge. Then again ads are personal so I will not see the same ones that you do. Great that you did recognize it as spam and didn't install. Thank you for watching and leaving a comment informing me. Best regards Daniel
@StijnHommes
@StijnHommes 2 жыл бұрын
@@DanielPersson You misunderstood. YOU are advertising for Google by making them a free 10 minute PWA advert. You should be making native apps instead of promoting spam.
@StijnHommes
@StijnHommes 4 жыл бұрын
Great tool for developers who are too lazy to develop a native app. Too bad you don't stick with best practices.
@DanielPersson
@DanielPersson 4 жыл бұрын
Hi Stijn Thank you for watching my videos. Best practices change and I don't keep track sadly because it's not my day to day work. I hope this don't confuse people. If there is something specific I should look into then please don't hesitate to educate me. Best regards Daniel
7 Web Features You Didn’t Know Existed
10:16
Fireship
Рет қаралды 281 М.
Shipping a PWA as an Android app
8:57
Chrome for Developers
Рет қаралды 50 М.
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН
ВЛОГ ДИАНА В ТУРЦИИ
1:31:22
Lady Diana VLOG
Рет қаралды 1,2 МЛН
Apache Cordova Tutorial Convert Web App to Mobile App
18:10
Adam Khoury
Рет қаралды 67 М.
Install a PWA on the home screen - Progressive Web App Training
6:24
Chrome for Developers
Рет қаралды 94 М.
PWA to Google Play Store with Trusted Web Activities (TWA)
7:08
How I implement PWA push Notification
14:21
Daily Web Coding
Рет қаралды 16 М.
Progressive Web Apps
16:21
kudvenkat
Рет қаралды 57 М.
Battle of the apps: native app vs PWA - who will win in 2023?
6:07
Jelvix | TECH IN 5 MINUTES
Рет қаралды 10 М.
8 AI Tools I Wish I Tried Sooner
16:10
Futurepedia
Рет қаралды 321 М.
Writing Code That Runs FAST on a GPU
15:32
Low Level
Рет қаралды 577 М.
Progressive Web Apps - PWA Roadshow
21:51
Chrome for Developers
Рет қаралды 166 М.
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН