-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getting crash #7
Comments
Hi @debabrataroy718 , I'm on my way home, I'll check it ASAP... By the way thanks! |
@debabrataroy718 could you share a screenshot of your console when getting this error? I look forward to hearing from you. |
Hi @AlgyJr , |
Hoo alright, I have replicated that error yesterday, and I noticed that I'm forcing the unwrapping there without check if nil. But if it is trying to return nil your API Key or Public Key is malformed. Have you created your account and got your API Key and Public Key on M-Pesa for Developers Platform website ? |
Please try to check your API Key and Public Key. I'll fix the force unwrap there on the next version that is coming soon. Thanks for you attention and opening this issue. |
Hi @debabrataroy718 , any news? |
When creating Public Key from malformed or invalid Public Key returns nil and was forcing unwrap a nil Closes #7
Hi @AlgyJr I can see the SDK has been tagged for Mozambique. Is this not possible to use for Kenya with reference to this website - https://developer.safaricom.co.ke/ |
Hi @waweruk , Unfortunately no, is not possible to be used for M-Pesa Safaricom Kenya. |
Hi,
I am getting crash on SecKeyCreateWithData method.
key = SecKeyCreateWithData(keyData as CFData, keyDict as CFDictionary, &error)
Error Log:
[seckey] SecKeyCreate init(RSAPublicKey) failed: -50
Please let me know if you any other information.
Thanks
The text was updated successfully, but these errors were encountered: