react-native-conekta
                                
                                
                                
                                    react-native-conekta copied to clipboard
                            
                            
                            
                        ITMS-90809: Deprecated API Usage
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???
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
@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 hey, if you want to take over please let me know, drop me an email at [email protected].
@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 Hi, did you get it to work with the new RN version?
@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",
   ...
  }