-
Notifications
You must be signed in to change notification settings - Fork 55
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
'cocos-ignore' is not valid enum #192
Comments
Hey @Bl4ckburn it appears that in the Ionic runtime, the |
Can you tell me how After deeper analysis it comes out that in WEB and Mobile APP Just in case you're wondering what values "credentials" can take.
That is code from lib.dom.d.ts in typescript lib. |
Hey @Bl4ckburn unfortunately this is not something I can prioritize at the moment, but you are welcome to investigate. |
Hey everyone,
I am currently using nakama-js in combination with ionic (capacitor) and after upgrading the version of capacitor-android to 5.4.0 (minimum) and compile project to APK it shows an error in app from nakama (even though I don't use the cocos engine):
It looks as if newer versions of lib.dom block the ability to change 'credentials'. My proposal is to simply checking whether the 'credentials' property is readonly, just to start with.
I don't know how the cocos engine itself reacts to the change.
checking function:
and change condition line before credentials assign in buildFetchOptions function from:
if (!descriptor?.set) {
toif (!descriptor?.set && isWritable(fetchOptions, 'credentials')) {
I would be grateful if someone had a better idea on how to solve this problem, without cutting off the cocos engine in the future by above condition.
The text was updated successfully, but these errors were encountered: