Summary: Before this change, opening deep-links or importing files would open new windows. Instead, just use an existing window if there is one. Documentation: https://developer.chrome.com/docs/web-platform/launch-handler/ Reviewed By: lawrencelomax Differential Revision: D48865950 fbshipit-source-id: 80c3fb58f1fcc3b8ace00fd9241bf1e374c8345e
38 lines
880 B
JSON
38 lines
880 B
JSON
{
|
|
"$schema": "https://json.schemastore.org/web-manifest-combined.json",
|
|
"name": "Flipper",
|
|
"description": "Flipper is a platform for debugging iOS, Android and React Native apps",
|
|
"short_name": "Flipper",
|
|
"start_url": "index.web.html",
|
|
"display": "standalone",
|
|
"background_color": "#fff",
|
|
"theme_color": "#722ed1",
|
|
"orientation": "portrait-primary",
|
|
"icons": [
|
|
{
|
|
"src": "/icon_grey.png",
|
|
"type": "image/png",
|
|
"sizes": "256x256"
|
|
}
|
|
],
|
|
"launch_handler": {
|
|
"client_mode": "focus-existing"
|
|
},
|
|
"file_handlers": [
|
|
{
|
|
"action": "/",
|
|
"accept": {
|
|
"text/*": [
|
|
".flipper"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"protocol_handlers": [
|
|
{
|
|
"protocol": "web+flipper",
|
|
"url": "/?open-plugin=%s"
|
|
}
|
|
]
|
|
}
|