App not working without whitelist plugin

My app is not working at all without whitelist plugin. Please someone guide me. what I can do. I am using web services in app with ajax request it used to work earlier but without whitelist plugin its not working at all

The whitelist plugin is built in when using Android engine 10 and later.

What’s the exact error your app is receiving when attempting to make the request?

app is not processing the login request at which used to work earlier

You’ve probably got an error or warning in the remote debugger console. You’ll need to share that.

My ajax request in app is not working anymore. I tested it

Many things could be causing it not to work. Please share the contents of your config.xml. That may help.

Have you successfully been able to use the remote debugger? This is your best bet for fixing the issue.

<?xml version='1.0' encoding='utf-8'?>
<widget id="com.kreonzstudent" versionCode="2"  version="2.1.13" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0">
  <name>Kreonz Student Assessments</name>
  <description>An Online Assessment System</description>
  <author email="" href="">An Online Assessment System</author>
  <content src="index.html" />
  <content original-src="index.html" />
  <preference name="permissions" value="none" />
  <preference name="android-compileSdkVersion" value="33" />
  <preference name="android-targetSdkVersion" value="33" />
	<engine name="android" spec="10.1.2" />
  <preference name="orientation" value="default" />
  <preference name="loadUrlTimeoutValue" value="700000" />
  <preference name="target-device" value="universal" />
  <preference name="fullscreen" value="false" />
  <preference name="webviewbounce" value="true" />
  <preference name="prerendered-icon" value="true" />
  <preference name="stay-in-webview" value="false" />
  <preference name="ios-statusbarstyle" value="black-opaque" />
  <preference name="detect-data-types" value="true" />
  <preference name="exit-on-suspend" value="false" />
  <preference name="show-splash-screen-spinner" value="false" />
  <preference name="auto-hide-splash-screen" value="true" />
  <preference name="disable-cursor" value="false" />
  <preference name="android-installLocation" value="auto" />
  <preference name="exit-on-suspend" value="false" />
  <preference name="AndroidXEnabled" value="true" />
   <preference name="android.enableJetifier" value="true" />
  <preference name="KeepRunning" value="true" />
  <preference name="CrosswalkAnimatable" value="true" />

  <preference name="AndroidLaunchMode" value="singleTop" />
  <gap:plugin name="cordova-plugin-camera" source="npm"  />
<!--  <gap:plugin name="cordova-plugin-camera" source="npm" />-->
  <gap:plugin name="cordova-plugin-inappbrowser" source="npm" />
  <gap:plugin name="cordova-plugin-background-mode" source="npm" />
  <plugin name="cordova-plugin-background-service" source="npm" />
  <plugin name="cordova-plugin-appminimize" source="npm" />
    <plugin name="cordova-plugin-sim" source="npm" />
  <plugin name="cordova-plugin-ip-mac-address" source="npm" />
  <plugin name="cordova-plugin-networkinterface" source="npm" />
  <plugin name="cordova-plugin-privacyscreen" source="npm" />
  <plugin name="cordova-plugin-androidx-adapter" source="npm" />
  <plugin name="cordova-plugin-android-permissions" source="npm" />
   <plugin name="cordova.plugins.diagnostic" source="npm"/>
   <plugin name="cordova-plugin-network-information" source="npm" />
  <gap:plugin name="cordova-plugin-geolocation" source="npm" />
  <plugin name="cordova-plugin-camera-preview" source="npm" />
<!--    <plugin name="cordova-background-video" source="npm" />-->

  <plugin name="cordova-plugin-advanced-geolocation" source="npm" />
  <preference name="AndroidPersistentFileLocation" value="Compatibility" />
  <plugin name="cordova-plugin-media-capture" source="npm"  />
  <param name="android-package" value="org.apache.cordova.geolocation.GeoBroker" source="npm" />

  
  <plugin name="cordova-plugin-insomnia" source="npm" />
  <plugin name="cordova-plugin-device" source="npm" />
  <plugin name="clovelced-plugin-audiomanagement" source="npm" />
  <plugin name="cordova-plugin-audioinput" source="npm" />
  <plugin name="cordova-plugin-screen-pinning" source="npm" />
  <plugin name="cordova-plugin-media" source="npm" />
  <plugin name="cordova-plugin-locktask" source="npm" />
  <!--  <plugin name="phonegap-plugin-media-recorder" source="npm" />-->
  <plugin name="cordova-plugin-appavailability" source="npm" />
  <plugin name="cordova-plugin-screenshot" source="npm" />
    <plugin name="com.darktalker.cordova.screenshot" source="npm" />
  <js-module name="screenPinning" src="screenPinning.js">
    <clobbers target="cordova.plugins.screenPinning" />
  </js-module>
  <platform name="android">
    <preference name="loadUrlTimeoutValue" value="700000" />
    <config-file target="config.xml" parent="/*">
      <feature name="ScreenPinning">
        <param name="android-package" value="io.fdmn.plugin.ScreenPinning" />
      </feature>
      <feature name="NativeGeocoder">
        <param name="android-package" value="cordova.plugin.nativegeocoder.NativeGeocoder" />
      </feature>
    </config-file>
    <source-file src="src/android/io/fdmn/plugin/ScreenPinning.java" target-dir="src/io/fdmn/plugin" />
    <js-module src="LockTask.js" name="LockTask">
      <clobbers target="plugins.locktask" />
    </js-module>
    <config-file target="config.xml" parent="/*">
      <feature name="LockTask">
        <param name="android-package" value="com.oddmouse.plugins.LockTask" />
      </feature>
    </config-file>
    <source-file src="src/android/com/oddmouse/plugins/LockTask.java" target-dir="src/com/oddmouse/plugins"/>
    <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
		<application android:usesCleartextTraffic="true" />
		<application android:requestLegacyExternalStorage="true" />
		<application android:exported="true" />
		 <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />   
    </edit-config>
	
	 <edit-config file="app/src/main/AndroidManifest.xml" target="/manifest/application/activity" mode="merge">
        <activity android:exported="true"/>
    </edit-config>  
	
  </platform>
 <!-- <platform name="android">
    <config-file target="AndroidManifest.xml" parent="/manifest">
        <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
    </config-file>
</platform>-->
  <!--<plugin name="cordova-plugin-kiosk" spec="https://github.com/hkalina/cordova-plugin-kiosk.git" /> -->
  <platform name="android">
    <preference name="ANDROIDX_VERSION" default="1.+" />
    <framework src="androidx.legacy:legacy-support-v4:$ANDROIDX_VERSION" />
    <framework src="androidx.appcompat:appcompat:$ANDROIDX_VERSION" />
  </platform>
  <platform name="android">
    <resource-file src="www/google-services.json" target="app/google-services.json" />
    <icon density="ldpi" src="resources/icon/android/drawable-ldpi-icon.png" />
    <icon density="mdpi" src="resources/icon/android/drawable-mdpi-icon.png" />
    <icon density="hdpi" src="resources/icon/android/drawable-hdpi-icon.png" />
    <icon density="xhdpi" src="resources/icon/android/drawable-xhdpi-icon.png" />
    <icon density="xxhdpi" src="resources/icon/android/drawable-xxhdpi-icon.png" />
    <icon density="xxxhdpi" src="resources/icon/android/drawable-xxxhdpi-icon.png" />
    <splash density="land-ldpi" src="www/res/screen/android/drawable-land-ldpi-screen.png" />
    <splash density="land-mdpi" src="www/res/screen/android/drawable-land-mdpi-screen.png" />
    <splash density="land-hdpi" src="www/res/screen/android/drawable-land-hdpi-screen.png" />
    <splash density="land-xhdpi" src="www/res/screen/android/drawable-land-xhdpi-screen.png" />
    <splash density="land-xxhdpi" src="www/res/screen/android/drawable-land-xxhdpi-screen.png" />
    <splash density="land-xxxhdpi" src="www/res/screen/android/drawable-land-xxxhdpi-screen.png" />
    <splash density="port-ldpi" src="www/res/screen/android/drawable-port-ldpi-screen.png" />
    <splash density="port-mdpi" src="www/res/screen/android/drawable-port-mdpi-screen.png" />
    <splash density="port-hdpi" src="www/res/screen/android/drawable-port-hdpi-screen.png" />
    <splash density="port-xhdpi" src="www/res/screen/android/drawable-port-xhdpi-screen.png" />
    <splash density="port-xxhdpi" src="www/res/screen/android/drawable-port-xxhdpi-screen.png" />
    <splash density="port-xxxhdpi" src="www/res/screen/android/drawable-port-xxxhdpi-screen.png" />
  </platform>
  <!-- <icon gap:platform="webos" src="icon.png" />
  <icon gap:platform="winphone" src="icon.png" />
  <icon gap:platform="winphone" gap:role="background" src="/res/icon/windows-phone/icon-173-tile.png" />-->
  <preference name="SplashScreenDelay" value="0" />
  <allow-navigation href="*"/>
  <allow-intent href="*"/>
  <access origin="*"/>
  <allow-intent href="http://*/*" />
  <allow-intent href="https://*/*" />
</widget>

That looks reasonable (though wildcards aren’t recommended). What is your Content Security Policy set to?

Can i have some sample from your side so that i can correct my application

Here is our sample project: GitHub - voltbuilder/sample: Simple app for VoltBuilder