• Stars
    star
    124
  • Rank 288,207 (Top 6 %)
  • Language
    Objective-C
  • Created almost 9 years ago
  • Updated almost 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A proof-of-concept project to get an iOS share extension target working with a React Native UI

React Native Share Extension Proof of Concept

This is an example project in a tinkering attempt to get an iOS Share Extension UI to include a React Native UI. The attempt was inspired by facebook/react-native#1626 .

Running the iOS app

open ios/ShareExtensionExample.xcodeproj
# hit the Run button

Running the app's iOS share extension

  1. Select the ShareExtension scheme in Xcode
  • Tell Xcode to run within Safari
  • Click the Share button in the iOS simulator's Safari.app
  • Select the ShareExtension icon to bring up the share extension UI

Known Gotchas

If you're having any issues getting React Native to actually run in your share extension, make sure your extension's target includes the -ObjC linker flag ([Other Linker Flags in Xcode's Build Settings GUI][ss]).

StackOverflow answer: http://stackoverflow.com/a/34099070

More Repositories

1

ionicons-sketch

Ionicons from within Sketch
162
star
2

RACMobiDevDay

Example code and slides from the MobiDevDay 2013 presentation on ReactiveCocoa
Objective-C
60
star
3

UITextView-UIControl

A UIControl-like API addition to UITextView
Objective-C
45
star
4

swift-playground

A dumping ground of Swift-releated notes
21
star
5

dotfiles

These are my dotfiles. There are many like them, but these ones are mine.
Shell
14
star
6

ReactCocoaPodsDemo

Objective-C
11
star
7

pi-setup

πŸ“ My simple Raspberry Pi setup for a home server running various services
Shell
3
star
8

ann-arbor-skyline

Vector drawing of Ann Arbor
3
star
9

UISegmentedControl-TitleWithImage

Objective-C
2
star
10

cappuccino_tutorial

A repository of Cappuccino resources
2
star
11

launchbar-action-kagi-search

A simple LaunchBar Action for searching the web via Kagi.
Shell
2
star
12

backup

My restic setup
Makefile
1
star
13

craftsmanguild-couchdb-talk

JavaScript
1
star
14

glsec-2016-presentation

GLSEC 2016 presentation on React Native
Objective-C
1
star
15

ergodox

My ErgoDox layout
1
star
16

RefreshControlMask

Gradually uncover each UIRefreshControl arm
1
star
17

launchbar

Custom actions for LaunchBar
Shell
1
star
18

andrewsardone.github.com

DEPRECATED – Moved to https://gitlab.com/andrewsardone/andrewsardone.gitlab.io/
HTML
1
star
19

ReactiveFormlets

Reactive and composable forms for Cocoa Touch.
Objective-C
1
star
20

dropin

MacRuby app to easily share public DropBox files via drag-n-drop
Ruby
1
star
21

emacs-config

DEPRECATED – Moved into dotfiles project (https://github.com/andrewsardone/dotfiles)
Emacs Lisp
1
star