-
Notifications
You must be signed in to change notification settings - Fork 324
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
Offer to Maintain the Online DPDB Cache #184
Comments
@borismus - friendly ping to get your feedback on my offer to maintain the online DPDB cache. Thanks. |
+1 this is a big blocker for a-frame users; lack of proper iOS support is not good |
In fact, just looking through the open issues, a good chunk of issues are directly related to maintaining the DPDB:
While @thoragio's offer may not help solve all of them, it could make a big dent immediately. |
Sorry for the delay here. DPDB is generated from an internal database which has since gone stale. We need to work out a better story, please stay tuned. |
I'd like to give this a bump and re-iterate the importance of getting this fixed. Even though Chrome is making progress toward native Cardboard support, it's still some way off before it's supported in WebViews or Chrome Custom Tabs, which includes progressive web apps installed to home screen, not to mention Firefox, Samsung Internet, Mobile Safari, etc. And I'm seeing more and more cases of unmatched phones, which results in distortion so bad it's nearly unusable, especially as screens get bigger. Since I can't find any documentation online of the source for this database or it being used in any other projects, I'm not opposed to forking it and either maintaining it here or in another repo. In any case, if the online database is so unreliable, we should not be obliterating the cache when the remote database is loaded. Perhaps just append the new entries to the existing array, or insert them at the top. Maybe make it configurable. |
Currently A-Frame maintains a fork with its own DPDB cache data. It might be worth using that instead until upstream gets fixed. |
@toji any good ideas how this can get a better workflow? Seems like one of the main reasons for a-frames fork. |
@HalfdanJ I'd recommend the following:
|
I think this sounds like a good solution. |
Sounds good to me! |
OK. I have submitted the PR. |
I've created a copy of the online DPDB cache here:
https://rawgit.com/thoragio/webvr-polyfill-dpdb/master/dpdb.json
And my repo for it is here:
https://github.com/thoragio/webvr-polyfill-dpdb
There have been a few requests to add new devices to this list over the last couple of months, so I am proposing to maintain this list at the links above. I would also continue to post PRs to your repo so that the offline cache in your repo is eventually kept up-to-date with the online one at the URL above.
If you guys are happy with this, I suggest to change the
ONLINE_DPDB_URL
to the rawgit.com URL above insrc/dpdb/dpdb.js
. Let me know and I will submit the required PR.The text was updated successfully, but these errors were encountered: