AWS CognitoIdentity "NotSupportedException: System.Configuration.ConfigurationManager::get_AppSettings" with Android IL2CPP as Scripting Background

Viewed 35

while building the app in the android devices using IL2CPP Scripting Background I got System.Configuration not supported Exception can you please help me with the detailed documentation to sort out this issue.

  1. working fine with mono.

  2. get issue with il2cpp.

  3. tried adding "link.xml" still not working.

  4. tried adding "awsconfig.xml" still not working.

  5. tried adding this script, ... #if UNITY_ANDROID public void UsedOnlyForAOTCodeGeneration() { //Bug reported on github https://github.com/aws/aws-sdk-net/issues/477 //IL2CPP restrictions: https://docs.unity3d.com/Manual/ScriptingRestrictions.html //Inspired workaround: https://docs.unity3d.com/ScriptReference/AndroidJavaObject.Get.html

     AndroidJavaObject jo = new AndroidJavaObject("android.os.Message");
     int valueString = jo.Get<int>("what");
    

    } #endif ... still not working.

  6. Do I'm missing something or there is no solution please help and appreciation for future response.

link.xml

awsconfig.xml

UsedOnlyForAOTCodeGeneration.cs

0 Answers
Related