Pine is an open-source bitcoin wallet for sending and receiving money among your friends.
Warning
This project is not actively developed. Use with caution. To recover a Pine wallet, see RECOVERY.md.
https://apps.apple.com/se/app/xcode/id497799835?l=en&mt=12
nvm (Node Version Manager) is used to install different versions of Node.js and npm. Follow these instructions to install nvm:
https://github.com/nvm-sh/nvm#install--update-script
Install Node.js (v8
) using nvm:
$ nvm install v8
This project is using Yarn as a package manager instead of npm.
$ npm install -g yarn
Or follow the instructions here: https://yarnpkg.com/en/docs/install
CocoaPods is used as a dependency manager for the iOS project. Install it using the following command:
$ sudo gem install cocoapods
$ git clone https://github.com/blockfirm/pine-app.git
$ cd pine-app
$ yarn install
$ cd ios
$ pod install
Start the bundler (Metro):
$ yarn start
Open ios/Pine.xcworkspace
with XCode and build and run the app in a simulator or real device.
-
Remove
localhost
fromNSExceptionDomains
inios/Info.plist
. -
In Xcode, go to Product → Scheme → Edit Scheme and set Build Configuration to
Release
. -
Configure node binary
It is possible that the build fails with an error complaining about the js bundle missing. This is solved by going to Pine → Build Phases → Bundle React Native code and images and replacing
node
with the full path to your node binary (the result ofwhich node
). -
Build react-native-image-crop-picker
- Remove the
RSKImageCropper
andQBImagePicker
frameworks from Pine → General → Embedded Binaries - Pick 🔨 Generic iOS Device in the Product Destination dropdown and then build (
⌘B
) - Add the newly built
RSKImageCropper
andQBImagePicker
frameworks to Embedded Binaries
- Remove the
-
Build the app
Pick 🔨 Generic iOS Device in the Product Destination dropdown and then build (
⌘B
).
Want to help us making Pine better? Great, but first read the CONTRIBUTING.md file for instructions.
Pine is licensed under the Apache License, Version 2.0. See LICENSE for full license text.