src/ApprienUnitySDK/Assets/Apprien/Scripts/ApprienUtility.cs
/// <summary>
/// Sends an error message to Apprien backend when the SDK encounters problems
/// </summary>
/// <param name="responseCode"></param>
/// <param name="errorMessage"></param>
Sends an error message to Apprien backend when the SDK encounters problems
Sends an error message to Apprien backend when the SDK encounters problems
public static void SendError(int responseCode, string errorMessage, string packageName, string storeIdentifier)
        {
            var url = string.Format(REST_POST_ERROR_URL, errorMessage, responseCode, packageName, storeIdentifier);
            using(var post = UnityWebRequest.Post(url, ""))
            {
                ApprienUtility.SendWebRequest(post);
            }
        }
public static void SendError ( int responseCode , string errorMessage , string packageName , string storeIdentifier ) { var url = string . Format ( REST_POST_ERROR_URL , errorMessage , responseCode , packageName , storeIdentifier ) ; using ( var post = UnityWebRequest . Post ( url , " " ) ) { ApprienUtility . SendWebRequest ( post ) ; } }
Sends an error message to Apprien backend when the SDK encounters problems
Sends an error message to Apprien backend when the SDK encounters problems
responseCode
int
None
errorMessage
string
None
packageName
string
storeIdentifier
string