react-chrome-extension-boilerplate icon indicating copy to clipboard operation
react-chrome-extension-boilerplate copied to clipboard

Submission Rejected - Contains minified or obfuscated code

Open cihadturhan opened this issue 6 years ago • 6 comments

Hello,

Today I submitted my extension to Chrome Web Store. But they respond me with the following:

Per our policies, where possible, make as much of your code visible in the
package as you can. If some of your app's logic is hidden and it appears to
be suspicious, we may remove it. During the course of a review, your item
was found to be suspicious and has one or more file(s) that contain
minified or obfuscated code which is not human readable.

Do you submit with dev or dist folder? It means anyone uses dist folder will have problems as it has obfuscated code. Please let me know if you used obfuscated code.

Thanks

cihadturhan avatar Jun 09 '18 14:06 cihadturhan

Did you solved the problem?

zabka229 avatar Jun 15 '18 14:06 zabka229

I solved it by disabling uglfy feature on webpack dist config. After that, they accepted the extension. It’s very strange that there are plenty of extensions with minified code. I’m on mobile so pardon for any typos.

cihadturhan avatar Jun 15 '18 14:06 cihadturhan

Did your bundle size increased a lot? :)

zabka229 avatar Jun 15 '18 14:06 zabka229

Hey @zabka229 I just saw your comment. It definitely increases ~300kb or more depending on your package.json. But that’s not a problem as chrome extension comes bundled and doesn’t load the file from any server.

cihadturhan avatar Jun 27 '18 04:06 cihadturhan

@cihadturhan : Hi, your post is from 2018. Do you have any problem with this issue since then?

I plan to create my extension, and I'm considering some boilerplates (React). Not sure if using React boilerplate causes me any trouble in the future, because I don't want to spend time building an extension and get rejected when I want to submit it to the store.

Another question: I see that this repository is not active since 2018. Are you using any newer (and better) boilerplate for chrome extension development? If yes, please suggest it to me.

Thank you.

piavgh avatar Feb 24 '20 09:02 piavgh

@piavgh I had no problems since then. To be honest, I didn't add new features for a while. See the extension: https://chrome.google.com/webstore/detail/clipboard-paste-anywhere/pbmkobomelmhlgfbfjohpblialcopjco?hl=en-US

cihadturhan avatar Feb 24 '20 10:02 cihadturhan