Giter Site home page Giter Site logo

cameronvoell / react-native-aztec Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wordpress-mobile/react-native-aztec

0.0 1.0 0.0 825 KB

Wrapping Aztec Android and Aztec iOS in a React Native component

License: GNU General Public License v2.0

Ruby 0.91% Java 59.07% JavaScript 16.47% Objective-C 3.68% Swift 19.88%

react-native-aztec's Introduction

Notice: We have git subtree'd this repo into https://github.com/wordpress-mobile/gutenberg-mobile. It is recommended that any new development happens on that one instead. Thanks!

react-native-aztec

Wrapping Aztec Android and Aztec iOS in a React Native component

License

GPL v2

Android: Run the example app

Make sure to have an emulator running or an Android device connected, and then:

$ cd example/
$ yarn clean:install
$ yarn android

This will build the Android library (via gradle) and example app, then launch the main example activity on your connected device and run the Metro bundler at the same time.

iOS: Run the example app

Before being able to run the Example App, you'll need to install Carthage and the dependencies for this project:

cd ios
carthage bootstrap --platform iOS

Then go back to the root directory of the project and do:

$ cd example/
$ yarn clean:install
$ yarn ios

This will compile the example project, launch metro, run the simulator and run the app.

FAQ / Troubleshooting

Q: The example app doesn't run

A: Make sure you have yarn and babel installed (https://yarnpkg.com/lang/en/docs/install/)

Q: The example app gets compiled but ReactNative cannot connect to Metro bundler (I'm on a real device attached through USB)

A: To debug on the device through USB, remember to revert ports before launching metro: adb reverse tcp:8081 tcp:8081

Q: The example app gets compiled but ReactNative shows an error

A: try running, from the root folder in the project

$ cd example/
$ yarn start --reset-cache

Open a new shell window and run either of these depending on the platform:

$ yarn android

or

$ yarn ios

react-native-aztec's People

Contributors

daniloercoli avatar diegoreymendez avatar mzorz avatar etoledom avatar sergioestevao avatar koke avatar hypest avatar maxme avatar pinarol avatar tug avatar jtreanor avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.