Cap-go / capacitor-data-storage-sqlite

Capacitor Data Storage SQLite Plugin for IOS and Android
MIT License
81 stars 18 forks source link

Debug logs in distribution build #48

Closed flipace closed 3 years ago

flipace commented 3 years ago

Describe the bug Various debug console.logs are in the distribution build.

Maybe it would make sense to switch to e.g. the debug package instead for such things?

To Reproduce Just use the plugin in the web version, and you'll see the console.log output, eg from here: https://github.com/jepiqueau/capacitor-data-storage-sqlite/blob/7965804c40a3c363f66b81c947380d6c62823e17/dist/esm/web.js#L15

Expected behavior Debug logs should not appear in production/distribution builds of the plugin.

jepiqueau commented 3 years ago

@flipace You right i will remove them in the next release

jepiqueau commented 3 years ago

@flipace fix in release 3.1.2-3. Fill free to close it when tested