PlasmoHQ / plasmo

🧩 The Browser Extension Framework
https://www.plasmo.com
MIT License
10.14k stars 350 forks source link

[BUG] Due to the encoding of multibyte character strings in Plasmo, it does not pass the Google Web Store review. #832

Open owayo opened 9 months ago

owayo commented 9 months ago

What happened?

The source contains multibyte character strings, and when built using the following commands, the multibyte character strings become Unicode escaped:

$ yarn build

Before build:

console.info("こんにちは")

After build:

console.info("\\u3053\\u3093\\u306b\\u3061\\u306f")

However, when submitted for review to the Google Web Store, it is notified as violating the following rule and is not approved: Google Web Store Troubleshooting - Obfuscation

option is needed that does not perform Unicode escaping.

image

Version

Latest

What OS are you seeing the problem on?

No response

What browsers are you seeing the problem on?

No response

Relevant log output

No response

(OPTIONAL) Contribution

Code of Conduct

flexchar commented 9 months ago

Is it only this part that is rejected?

flexchar commented 9 months ago

You could try appealing to the Google store or try extracting translation strings to a dedicated file

owayo commented 8 months ago

Is it only this part that is rejected?

Yes

You could try appealing to the Google store or try extracting translation strings to a dedicated file

Yes, I was able to resolve it by outputting to message.json, but I would appreciate an option not to use Unicode escaping.