Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48983

Disable /public folder generation inside Android app

$
0
0

Hello guys.
I have a project that I want to serve remotely from a server, in an Android app. So what I’m doing right now is generating a build, uploading the contents of /www/ to my server, and then I added the URL to capacitor.config.ts:

const baseConfig: CapacitorConfig = {
	...
	server: {
		url: "https://mysite.com"
	}
}

This works perfectly, but now my problem is that everytime I compile the project, the source code is still being generated in android/app/src/main/assets/public. How can I disable this?

Thanks a lot.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48983

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>