try to allow background process
This commit is contained in:
		@@ -13,6 +13,7 @@
 | 
			
		||||
  </author>
 | 
			
		||||
  <content src="https://safechat.ch" />
 | 
			
		||||
  <plugin name="cordova-plugin-whitelist" version="1" />
 | 
			
		||||
  <plugin name="de.appplant.cordova.plugin.background-mode" />
 | 
			
		||||
  <access origin="https://safechat.ch" subdomains="true" />
 | 
			
		||||
  <access origin="https://dev.marc.waeckerlin.org" subdomains="true" />
 | 
			
		||||
  <allow-intent href="http://*/*" />
 | 
			
		||||
 
 | 
			
		||||
@@ -20,6 +20,7 @@ ${ANDROID_SRC}:
 | 
			
		||||
	      chmod -R u+w "$${file}" ); \
 | 
			
		||||
	done
 | 
			
		||||
	if [ "$$(whoami)" != "root" ]; then \
 | 
			
		||||
	  cordova plugin add https://github.com/katzer/cordova-plugin-background-mode.git; \
 | 
			
		||||
	  cordova build --debug || cordova build --debug; \
 | 
			
		||||
	fi
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user