Bluewallet: Release on F-Droid (0.1 btc bounty)

Created on 10 Jan 2019  ·  12Comments  ·  Source: BlueWallet/BlueWallet

Since the wallet is open source and available on Android, I think it'd great for the open source community if it could be released on F-Droid. Steps to do so can be found here.

bounty idea

Most helpful comment

As a community I think we need to be prepared for ALL Bitcoin wallets to be banned from the Google Play store. Perhaps at the request of government(s).

There's only 2 Bitcoin wallets on F-Droid but Bluewallet is the current best mobile wallet to recommend to others. It's part of the “freedom stack”.

I pledge 0.1 BTC as a bounty for this issue to be completed.

See my tweet about it
https://twitter.com/BtcCuracao/status/1285586746131075072

All 12 comments

This is a very good idea, thanks for the suggestion! I was thinking about
other platforms except ios & andr, since I hate their monopoly, but there
isn't much alternative. This F-Droid is at least something.

On Thu, 10 Jan 2019 at 20:50, Gerald Nash notifications@github.com wrote:

Since the wallet is open source and available on Android, I think it'd
great for the open source community if it could be released on F-Droid
https://f-droid.org/. Steps to do so can be found here
https://f-droid.org/en/tutorials/create-repo/.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BlueWallet/BlueWallet/issues/233, or mute the thread
https://github.com/notifications/unsubscribe-auth/AB0x-dCEdX4B0fUy-4aJ4XxkkLx-aogiks5vB6eUgaJpZM4Z6SoU
.

Please do, GAPPS dependant wallets are gross, a trend we should avoid.

Hello is this idea still alive? It would be really great for users without Google play services. Thanks !

As a community I think we need to be prepared for ALL Bitcoin wallets to be banned from the Google Play store. Perhaps at the request of government(s).

There's only 2 Bitcoin wallets on F-Droid but Bluewallet is the current best mobile wallet to recommend to others. It's part of the “freedom stack”.

I pledge 0.1 BTC as a bounty for this issue to be completed.

See my tweet about it
https://twitter.com/BtcCuracao/status/1285586746131075072

Do you guys want to release it on the official repo or on your own repo? Because @aunyks links to the instructions of how to create an own repo.

Since latest release the app now includes google services https://github.com/BlueWallet/BlueWallet/commit/545c8891f6840fbb85e8f0804213cc8a76ef88ed (for push notifications).
Google services are not allowed in the official F-Droid repo. For the F-Droid build this commit could be patched out.
But the nicer way would be to add a separate build flavor for F-Droid.

We use React Native. That flavor would need to parse through all our dependencies and remove any references to that.

v5.5.1 builds, but:

F-Droid metadata so far _(which pulls the Google libs else it will fail since InstallReferrer needs them)_:

License: MIT
SourceCode: https://github.com/BlueWallet/BlueWallet.git
IssueTracker: https://github.com/BlueWallet/BlueWallet.git/issues

AutoName: bluewallet

RepoType: git
Repo: https://github.com/BlueWallet/BlueWallet.git

Builds:
  - versionName: 5.5.1
    versionCode: 1594923516
    commit: v5.5.1
    subdir: android/app
    sudo:
      - sysctl fs.inotify.max_user_watches=524288
      - sysctl -p
      - curl -Lo node.tar.xz https://nodejs.org/dist/v12.18.2/node-v12.18.2-linux-x64.tar.xz
      - echo "b8dc634798ee783482c2ae1755bd7dff09d83fa7bb037cdc370b601d0a5e5cbb node.tar.xz"
        | sha256sum -c -
      - tar xJf node.tar.xz
      - cp -a node-v12.18.2-linux-x64/. /usr/local/
      - npm install -g react-native-cli
    init: npm install
    gradle:
      - yes
    rm:
      - ios
      - node_modules/detox
    prebuild:
      - sed -i -e '/splits/,+7d' -e '/google-services/d' -e '/detox/,+2d' -e 's/enableHermes:\
        false/enableHermes:\ false/' -e 's/versionCode 1/versionCode $$VERCODE$$/'
        build.gradle
      - echo sed -i -e '/installreferrer/,+7d' ../../node_modules/react-native-device-info/android/build.gradle
      - sed -i -e 's/http:/https:/' ../../node_modules/react-native-gesture-handler/android/lib/build.gradle
    scanignore:
      - node_modules/jsc-android
      - node_modules/react-native/android
      - android/build.gradle
      - node_modules/@react-native-community/async-storage/android/build.gradle
      - node_modules/@react-native-community/masked-view/android/build.gradle
      - node_modules/lottie-react-native/build.gradle
      - node_modules/react-native-blue-crypto/android/build.gradle
      - node_modules/react-native-camera/android/build.gradle
      - node_modules/react-native-device-info/android/build.gradle
      - node_modules/react-native-image-picker/android/build.gradle
      - node_modules/react-native-localize/android/build.gradle
      - node_modules/react-native-prompt-android/android/build.gradle
      - node_modules/react-native-safe-area-context/android/build.gradle
      - node_modules/react-native-screens/android/build.gradle
      - node_modules/react-native-secure-key-store/example/android/build.gradle
      - node_modules/react-native-share/android/build.gradle
      - node_modules/react-native-svg/android/build.gradle
      - node_modules/react-native-tcp-socket/android/build.gradle
      - node_modules/react-native-webview/android/build.gradle
      - node_modules/react-native/template/android/build.gradle
    scandelete:
      - node_modules/hermes-engine
      - node_modules/@sentry/cli/sentry-cli
      - node_modules/flow-bin/*/flow*
      - node_modules/jetifier/lib/*.jar
      - node_modules/levelup/node_modules/semver/semver.browser.js.gz
      - node_modules/levelup/node_modules/semver/semver.min.js.gz
      - node_modules/levelup/test/data/testdata.bin
      - node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/MacOS/terminal-notifier
      - node_modules/node-notifier/vendor/notifu/notifu*.exe
      - node_modules/node-notifier/vendor/snoreToast/SnoreToast.exe
      - node_modules/npm-registry/node_modules/semver/semver.browser.js.gz
      - node_modules/npm-registry/node_modules/semver/semver.min.js.gz
      - node_modules/react-native/ReactAndroid/src/main/third-party/java/buck-android-support/buck-android-support.jar

AutoUpdateMode: None
UpdateCheckMode: Tags

Do you guys want to release it on the official repo or on your own repo? Because @aunyks links to the instructions of how to create an own repo.

Since latest release the app now includes google services 545c889 (for push notifications).
Google services are not allowed in the official F-Droid repo. For the F-Droid build this commit could be patched out.
But the nicer way would be to add a separate build flavor for F-Droid.

I prefer if it's on the official F-Droid repo. I consider that a badge of honor.

ok how do I help? Im totally not familiar with f-droid

@Overtorment read my post above.... Push and Referrer need to be excluded in a flavor.

I suppose I could maintain a branch without push notifications, that's the easy part.

but We need a gradle flavor that excludes InstallReferrer stuff <-- that I do not understand

@Overtorment InstallReferrer is a non-FOSS lib, in that branch without push do exclude this too.

See installreferrer being in node_modules/react-native-device-info/android/build.gradle

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ncoelho picture ncoelho  ·  6Comments

Blockgazer picture Blockgazer  ·  6Comments

TheFuzzStone picture TheFuzzStone  ·  3Comments

oday0311 picture oday0311  ·  6Comments

mcsaeid picture mcsaeid  ·  6Comments