You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
privateStringextractAppIdFromAppKey(StringappId) {
// take the second half of the 40 charactersStringworking = appId.substring(20);
// this removes leading 0'sworking = working.replaceFirst("^0+(?!$)", "");
returnworking;
}
This is the method that removes zeros from the beginning of the string, in Objective C it does not.
1) testAppIdExactly40SymbolsAndZerosInTheMiddle(im.getsocial.sdk.core.AppIdTest)
java.lang.AssertionError:
Expected: "103456789"
but: was "0103456789"
Version j2objc-0.9.8.2.1
The text was updated successfully, but these errors were encountered:
This is the method that removes zeros from the beginning of the string, in Objective C it does not.
Version j2objc-0.9.8.2.1
The text was updated successfully, but these errors were encountered: