-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(bug): removed iOS support completely
- Loading branch information
Showing
114 changed files
with
6,798 additions
and
24 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// | ||
// RCTRemitaModule.h | ||
// | ||
// | ||
// Created by Babalola Macaulay on 02/02/2023. | ||
// | ||
|
||
#ifndef RCTRemitaModule_h | ||
#define RCTRemitaModule_h | ||
|
||
|
||
#endif /* RCTRemitaModule_h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
example/ios/RemitaExample.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
example/ios/RemitaExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>IDEDidComputeMac32BitWarning</key> | ||
<true/> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// RCTRemitaModule.h | ||
// Remita | ||
// | ||
// Created by Babalola Macaulay on 02/02/2023. | ||
// Copyright © 2023 Facebook. All rights reserved. | ||
// | ||
|
||
#import <React/RCTBridgeModule.h> | ||
|
||
@interface RCTRemitaModule : NSObject <RCTBridgeModule> | ||
@end | ||
|
||
#ifndef RCTRemitaModule_h | ||
#define RCTRemitaModule_h | ||
|
||
|
||
#endif /* RCTRemitaModule_h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// RCTRemitaModule.m | ||
// Remita | ||
// | ||
// Created by Babalola Macaulay on 02/02/2023. | ||
// Copyright © 2023 Facebook. All rights reserved. | ||
// | ||
|
||
#import "RCTRemitaModule.h" | ||
|
||
@implementation RCTRemitaModule | ||
|
||
// To export a module named Remita | ||
RCT_EXPORT_MODULE(Remita); | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#import <React/RCTBridgeModule.h> | ||
#import <React/RCTViewManager.h> | ||
//#import <reac> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#import <React/RCTBridgeModule.h> | ||
#import <React/RCTLog.h> | ||
#import "Remita-Bridging-Header.h" | ||
//#import <RemitaPaymentGateway/RemitaPaymentGateway.h> | ||
//#import "RemitaPaymentGateway" | ||
//#import <RemitaPaymentGateway/Sources/RemitaPaymentGateway.h> | ||
|
||
|
||
@interface RCT_EXTERN_MODULE(Remita, NSObject) | ||
|
||
RCT_EXPORT_METHOD(pay) | ||
{ | ||
// const paymentGateway: RemitaPaymentGateway = RemitaPaymentGateway(); | ||
// paymentGateway.delegate = self; | ||
|
||
RCTLogInfo(@"Attempting to pay"); | ||
} | ||
|
||
RCT_EXPORT_METHOD(createCalendarEvent:(NSString *)name location:(NSString *)location) | ||
{ | ||
RCTLogInfo(@"Pretending to create an event %@ at %@", name, location); | ||
} | ||
|
||
+ (BOOL)requiresMainQueueSetup | ||
{ | ||
return NO; | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@objc(Remita) | ||
class Remita: NSObject { | ||
|
||
@objc(multiply:withB:withResolver:withRejecter:) | ||
func multiply(a: Float, b: Float, resolve:RCTPromiseResolveBlock,reject:RCTPromiseRejectBlock) -> Void { | ||
resolve(a*b) | ||
} | ||
} |
Oops, something went wrong.