Skip to content

Releases: MaxAst/expo-share-extension

v0.3.0

13 Dec 17:13
Compare
Choose a tag to compare
  • add react-native-firebase support

v0.2.0

06 Dec 22:03
Compare
Choose a tag to compare
  • fixes #2 by moving off of expo for the share extension target
  • adds support for changing the background color (rgba) of the share extension view
  • adds url to initial props of share extension's root react native component

v0.1.5

30 Nov 22:15
Compare
Choose a tag to compare

copy SplashScreen image assets from app target to share extension target

v0.1.4

30 Nov 17:40
Compare
Choose a tag to compare

copy SplashScreen.manifest from app target to share extension target

v.0.1.3

29 Nov 17:26
Compare
Choose a tag to compare

update version in package.json so that package can be published to npm

v0.1.2

29 Nov 17:22
Compare
Choose a tag to compare

update npm-publish Github Action to not run tests until I have written tests

v.0.1.1

29 Nov 17:09
Compare
Choose a tag to compare

Update instructions in README

v0.1.0

29 Nov 16:45
30033b8
Compare
Choose a tag to compare

This initial release contains the following functionality:

  • creating an iOS share extension target
  • adding the app target and share extension target to a common app group
  • opening a custom view powered by React Native when a the share extension is triggered

Usage

  1. Install the package, e.g. via npm: npm install expo-share-extension
  2. Add expo-share-extension to the plugins array in your app.json
  3. Update your package.json: "main": "index.js"
  4. Create an index.js file in the root of your expo project. Register your App component with expo's registerRootComponent and register a separate component that will run in the share extension's custom view using React Native's AppRegistry. For example:
import { registerRootComponent } from "expo";
import { AppRegistry } from "react-native";

import App from "./App";
import ShareExtension from "./ShareExtension";

registerRootComponent(App);

AppRegistry.registerComponent("extension", () => ShareExtension);