-
Notifications
You must be signed in to change notification settings - Fork 926
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Implement Facebook stories share (#761)
* feat: Implement Facebook stories share * Update index.js Co-Authored-By: Mateus Andrade <mateus.andrade47@outlook.com> * Update README.md Co-Authored-By: Mateus Andrade <mateus.andrade47@outlook.com> * Update README.md Co-Authored-By: Mateus Andrade <mateus.andrade47@outlook.com> Co-authored-by: Mateus Andrade <mateus.andrade47@outlook.com>
- Loading branch information
1 parent
11a8ee4
commit 530cdef
Showing
6 changed files
with
302 additions
and
18 deletions.
There are no files selected for viewing
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,54 @@ | ||
// | ||
// FacebookStories.h | ||
// RNShare | ||
// | ||
// Created by Quynh Nguyen on 4/13/20. | ||
// Link: https://github.com/Quynh-Nguyen | ||
// Copyright © 2020 Facebook. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
// import RCTConvert | ||
#if __has_include(<React/RCTConvert.h>) | ||
#import <React/RCTConvert.h> | ||
#elif __has_include("RCTConvert.h") | ||
#import "RCTConvert.h" | ||
#else | ||
#import "React/RCTConvert.h" // Required when used as a Pod in a Swift project | ||
#endif | ||
// import RCTBridge | ||
#if __has_include(<React/RCTBridge.h>) | ||
#import <React/RCTBridge.h> | ||
#elif __has_include("RCTBridge.h") | ||
#import "RCTBridge.h" | ||
#else | ||
#import "React/RCTBridge.h" // Required when used as a Pod in a Swift project | ||
#endif | ||
// import RCTUIManager | ||
#if __has_include(<React/RCTUIManager.h>) | ||
#import <React/RCTUIManager.h> | ||
#elif __has_include("RCTUIManager.h") | ||
#import "RCTUIManager.h" | ||
#else | ||
#import "React/RCTUIManager.h" // Required when used as a Pod in a Swift project | ||
#endif | ||
// import RCTLog | ||
#if __has_include(<React/RCTLog.h>) | ||
#import <React/RCTLog.h> | ||
#elif __has_include("RCTLog.h") | ||
#import "RCTLog.h" | ||
#else | ||
#import "React/RCTLog.h" // Required when used as a Pod in a Swift project | ||
#endif | ||
// import RCTUtils | ||
#if __has_include(<React/RCTUtils.h>) | ||
#import <React/RCTUtils.h> | ||
#elif __has_include("RCTUtils.h") | ||
#import "RCTUtils.h" | ||
#else | ||
#import "React/RCTUtils.h" // Required when used as a Pod in a Swift project | ||
#endif | ||
@interface FacebookStories : NSObject <RCTBridgeModule> | ||
|
||
- (void *) shareSingle:(NSDictionary *)options failureCallback:(RCTResponseErrorBlock)failureCallback successCallback:(RCTResponseSenderBlock)successCallback; | ||
@end |
Oops, something went wrong.