Permalink
Browse files

修改iOS Bridge

  • Loading branch information...
Max Max
Max authored and Max committed Jan 2, 2018
1 parent 6aad7f5 commit 00b01ab913abe64b358efb9aebf5131a9bac2af6
View
BIN .DS_Store
Binary file not shown.
Binary file not shown.
View
Binary file not shown.
@@ -52,14 +52,31 @@ void __iosSMSSDKRegisterAppWithAppKeyAndAppSerect(void *appKey, void * appSecret
}
void __iosGetVerificationCode (SMSGetCodeMethod smsGetCodeMethod, void *phoneNumber, void *zone, void *tempCode, void *observer)
{
NSString *phoneNumberStr = [NSString stringWithCString:phoneNumber encoding:NSUTF8StringEncoding];
NSString *zoneStr = [NSString stringWithCString:zone encoding:NSUTF8StringEncoding];
{
NSString *phoneNumberStr = nil;
NSString *zoneStr = nil;
NSString *tempCodeStr = nil;
NSString *observerStr = nil;
NSString *tempCodeStr = [NSString stringWithCString:tempCode encoding:NSUTF8StringEncoding];
NSString *observerStr = [NSString stringWithCString:observer encoding:NSUTF8StringEncoding];
if (phoneNumber != NULL)
{
phoneNumberStr = [NSString stringWithCString:phoneNumber encoding:NSUTF8StringEncoding];
}
if (zone != NULL)
{
zoneStr = [NSString stringWithCString:zone encoding:NSUTF8StringEncoding];
}
if (tempCode != NULL)
{
tempCodeStr = [NSString stringWithCString:tempCode encoding:NSUTF8StringEncoding];
}
if (observer != NULL)
{
observerStr = [NSString stringWithCString:observer encoding:NSUTF8StringEncoding];
}
if (phoneNumber && zone)
{
No changes.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

0 comments on commit 00b01ab

Please sign in to comment.