Skip to content
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

[Bug]: wrong App Title when adding to Apple Device Homescreen #3382

Closed
1 task done
leondape opened this issue Jul 18, 2024 · 8 comments
Closed
1 task done

[Bug]: wrong App Title when adding to Apple Device Homescreen #3382

leondape opened this issue Jul 18, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@leondape
Copy link

What happened?

Probably the Apps title needs apple-mobile-web-app-title set in order to be correctly rendered on apple devices.

Steps to Reproduce

  1. try to add librechat with custom app name to homescreen of an i-Device
  2. App Title is librechat instead of the custom Title

What browsers are you seeing the problem on?

Mobile (iOS)

Relevant log output

No response

Screenshots

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@leondape leondape added the bug Something isn't working label Jul 18, 2024
@leondape
Copy link
Author

probably it is due to the fact that the manifest in vite.config.ts has it hard coded to LibreChat?

@danny-avila
Copy link
Owner

For this, you should be editing index.html and committing it to your fork

@danny-avila danny-avila closed this as not planned Won't fix, can't repro, duplicate, stale Aug 21, 2024
@leondape
Copy link
Author

leondape commented Sep 2, 2024

I changed everything and added metadata name tags but still it does not to the job.
Is a manifest.json required for that? I mean where do iOS devices currently get "LibreChat" from?

@leondape
Copy link
Author

leondape commented Sep 6, 2024

I tried changing:
/index.html
/client/index.html

In the end the only thing that worked was changing
/client/vite.config.ts

@joseph-holland
Copy link

Quick question @leondape as I'm having the same issue. When you changed the vite.config.ts what did you have to do for it to take effect? Was it a case that you had to build the image, or are you using the deploy-compose and docker overrides?
Thanks

@joseph-holland
Copy link

joseph-holland commented Sep 22, 2024

I actually got this sorted using the docker-compose.override.yml by copying the existing manifest.webmanifest and editing it, then adding the below to the volumes for api service:
- ./client/manifest.webmanifest:/app/client/dist/manifest.webmanifest

@leondape
Copy link
Author

leondape commented Sep 22, 2024

After you edit the vite.config.ts you need to rebuild the frontend.
In development you do that npm run frontend
Or if you use docker in production rebuild the image using this

@joseph-holland
Copy link

Thanks. I'm trying to rebuilding the image for now if I'm just doing small tweaks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants