|
func validateAndCorrectCharacters(_ string: String) -> String? { |
This snippet is confusing because it looks like you can paste whole activation code WITH - characters and it will correct them, but since the - is not a valid character, it fails.
The snippet should mention that the code needs to be pasted without - (on indexes 4,9,14) or remove them directly in the snippet.
The same issue is on Android
powerauth-mobile-sdk/docs/PowerAuth-SDK-for-iOS.md
Line 464 in ef7f9dc
This snippet is confusing because it looks like you can paste whole activation code WITH
-characters and it will correct them, but since the-is not a valid character, it fails.The snippet should mention that the code needs to be pasted without
-(on indexes 4,9,14) or remove them directly in the snippet.The same issue is on Android