react-native-conekta icon indicating copy to clipboard operation
react-native-conekta copied to clipboard

ITMS-90809: Deprecated API Usage

Open itonyej opened this issue 5 years ago • 6 comments

Hello,

I am ussing conekta api for android and iOS app, this is the only api that have work for me.

In my last upload to the app store apple sendme the next email:

ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information.

I hace searched in my entire project and i found that in

node_modules/RNConekta/Conekta/Conekta.m it use it:

`#import "Conekta.h"

@implementation Conekta

UIWebView *web;

  • (id) init { web = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 0, 0)]; [self setBaseURI:@"https://api.conekta.io"]; return self; }

  • (NSString *) deviceFingerprint { NSString *uuid = [[[UIDevice currentDevice] identifierForVendor] UUIDString]; return [uuid stringByReplacingOccurrencesOfString:@"-" withString:@""]; } `

How can it be fixed???

itonyej avatar Feb 08 '20 14:02 itonyej

This is what conekta-ios did https://github.com/conekta/conekta-ios/pull/24/commits/d1ee4c8efc2f089c5f1dbb1370948c6cde35dc75

Seems like UIWebView needs to be replaced with WKWebView

andidev avatar Nov 18 '21 23:11 andidev

@zo0r I guess you dont have any time over for this project anymore. Is there a chance you can add other maintainers that can help you out?

andidev avatar Nov 18 '21 23:11 andidev

@andidev hey, if you want to take over please let me know, drop me an email at [email protected].

zo0r avatar Feb 08 '22 04:02 zo0r

@zo0r sorry for late response. We really need to get this to work in some way so we are thinking about maintaining this library again. Can you share the access? I will mail you privately as well.

andidev avatar Jun 27 '22 15:06 andidev

@andidev Hi, did you get it to work with the new RN version?

omarloi avatar Mar 13 '23 19:03 omarloi

@omarloi so it looks like code is committed but not released. the way we used latest version was by including a specific commit in package.json

 "dependencies": {
   "react-native-conekta": "git://github.com/zo0r/react-native-conekta.git#82a49416ee64e47d979bf277d6e4698af8368b9b",
   ...
  }

andidev avatar Mar 16 '23 09:03 andidev