-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Develop manifest.json for project #122
Comments
Just a quick note, a basic version of manifest.json is automatically created after npm run build in create-react-app. It will get rebuilt everytime so if someone adds to it, we would want to protect/copy that file somewhere else! |
True @amr08 Thanks for pointing that out. What do you think ? Tagging some folks for views on whether we should leave it as a basic one or add more functionality @khusbuchandra @sonalikatara @agonzalez0515 @digilou @PepperAddict |
I think the one CRA creates should be ok for now. I'm wondering, should I be using that to cache the assets? Or adding it to the cache along with the assets? |
@tanyagupta I'm curious about this. It sounds like a manifest is good to qualify this is a progressive web app (PWA) that people can then install on their home screen: https://developers.google.com/web/fundamentals/web-app-manifest/ But if @amr08 is saying it gets rebuilt, maybe we need to lock one to reap the benefits of a manifest that Google suggests? |
Angelica, I think we should cache it along with the assets. Not sure if
there is any React specific angle but in the PWA course they cache the
manifest. And ok let's hold off for now and come back to it later.
Amy yes exactly. I actually did this for the TheDevPath project and it was
also mentioned in the PWA course. However Andrea is saying a basic one is
automatically created. Once all the icons are done, we may have to come
back to this since we want to be sure that they are all included in there.
We also want to be sure a designer is involved when we work on it to make
sure the theme color/background color are all working well.
And oh here's the link
https://developers.google.com/web/fundamentals/web-app-manifest/
…On Fri, Mar 30, 2018 at 12:40 AM, Amy Carney ***@***.***> wrote:
@tanyagupta <https://github.com/tanyagupta> I'm curious about this. It
sounds like a manifest is good to qualify this is a progressive web app
(PWA) that people can then install on their home screen:
https://developers.google.com/web/fundamentals/web-app-manifest/
This is a PWA issue that I see mentioned when running a full audit with
Lighthouse.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#122 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIGoep7BZe__cvp7rhhzWe66znHj1kP_ks5tjbcqgaJpZM4TAhkm>
.
|
Where are we with this? Any plans on someone starting on it? |
While I was working on favicon I came across some interesting reads one of them is https://medium.com/front-end-hacking/react-by-example-part-4-5d32168db362 |
WOW @sonalikatara this is perfect timing for me, as I'm working on a MERN app right now, and all of this architecture has been confusing. It looks like our structure is right on par with what John is saying, so manifest.json in the public folder sounds fine to me. |
Sounds good to me. I’m wondering, if we put it in the public/ folder in development, does the build command keep it there in production? Need to look into CRA build? |
@agonzalez0515 , this is what Jhon say's about the build process and manifest.json
|
https://developers.google.com/web/fundamentals/web-app-manifest/
The web app manifest is a simple JSON file that gives you, the developer, the ability to control how your app appears to the user in areas where they would expect to see apps (for example, a mobile device's home screen), direct what the user can launch, and define its appearance at launch.
Web app manifests provide the ability to save a site bookmark to a device's home screen. When a site is launched this way:
It has a unique icon and name so that users can distinguish it from other sites.
It displays something to the user while resources are downloaded or restored from cache.
It provides default display characterstics to the browser to avoid too abrupt transition when site resources become available.
It does all this through the simple mechanism of metadata in a text file. That's the web app manifest.
The text was updated successfully, but these errors were encountered: