ci, doc: Add a link to Android APK CI artifact #82

Manually merged
hebasto merged 2 commits from 211106-apk into main 2021-11-12 11:37:22 +00:00 AGit
hebasto commented 2021-11-06 12:45:38 +00:00 (Migrated from github.com)

Ability to download Android APK from CI was requested on the recent call.

Windows
macOS
Android

Ability to download Android APK from CI was requested on the recent [call](https://github.com/BitcoinDesign/Meta/issues/185). [![Windows](https://img.shields.io/badge/OS-Windows-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/win64/insecure_win_gui.zip?branch=pull/82) [![macOS](https://img.shields.io/badge/OS-macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos/insecure_mac_gui.zip?branch=pull/82) [![Android](https://img.shields.io/badge/OS-Android-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/insecure_android_apk.zip?branch=pull/82)
hebasto commented 2021-11-06 12:47:40 +00:00 (Migrated from github.com)

@promag Could you suggest a better Android badge link?

@promag Could you suggest a better Android badge link?
promag (Migrated from github.com) reviewed 2021-11-06 13:05:50 +00:00
promag (Migrated from github.com) left a comment
Concept ACK. Maybe change to: https://img.shields.io/badge/OS-Windows-green https://img.shields.io/badge/OS-macOS-green https://img.shields.io/badge/OS-Android-green
hebasto commented 2021-11-06 16:04:42 +00:00 (Migrated from github.com)
> Concept ACK. > > Maybe change to: https://img.shields.io/badge/OS-Windows-green https://img.shields.io/badge/OS-macOS-green https://img.shields.io/badge/OS-Android-green Thank you @promag! Done.
hebasto commented 2021-11-06 16:05:12 +00:00 (Migrated from github.com)

@Bosch-0

Is this what you were requesting for?

@Bosch-0 Is this what you were requesting for?
promag (Migrated from github.com) reviewed 2021-11-06 20:51:16 +00:00
promag (Migrated from github.com) left a comment

It failed to install, but link works.

It failed to install, but link works.
promag (Migrated from github.com) commented 2021-11-06 20:50:36 +00:00

nit, add newline.

nit, add newline.
jarolrod (Migrated from github.com) reviewed 2021-11-09 02:41:31 +00:00
jarolrod (Migrated from github.com) left a comment

Concept ACK

Can't test the resulting apk, but the link works

Concept ACK Can't test the resulting apk, but the link works
hebasto commented 2021-11-10 11:53:46 +00:00 (Migrated from github.com)

It failed to install, but link works.

Just leaving here a link to @icota's comment dated 2021-07-17.

> It failed to install, but link works. Just leaving here a [link](https://github.com/bitcoin/bitcoin/pull/22469#issuecomment-881867614) to @icota's comment dated 2021-07-17.
icota commented 2021-11-10 12:44:16 +00:00 (Migrated from github.com)
adb: failed to install insecure_android.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed collecting certificates for /data/app/vmdl895240733.tmp/base.apk: Package /data/app/vmdl895240733.tmp/base.apk has no certificates at entry AndroidManifest.xml]

Not sure why it worked before. Maybe gradle somehow found my dev cert from outside the container.

``` adb: failed to install insecure_android.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed collecting certificates for /data/app/vmdl895240733.tmp/base.apk: Package /data/app/vmdl895240733.tmp/base.apk has no certificates at entry AndroidManifest.xml] ``` Not sure why it worked before. Maybe `gradle` somehow found my dev cert from outside the container.
hebasto commented 2021-11-11 14:02:28 +00:00 (Migrated from github.com)

@promag

It failed to install, but link works.

Mind trying one more time?

@promag > It failed to install, but link works. Mind trying one more time?
hebasto (Migrated from github.com) reviewed 2021-11-11 14:02:41 +00:00
hebasto (Migrated from github.com) commented 2021-11-11 14:02:41 +00:00

Done.

Done.
promag commented 2021-11-11 14:41:55 +00:00 (Migrated from github.com)

@hebasto same error.

@hebasto same error.
promag commented 2021-11-11 20:47:30 +00:00 (Migrated from github.com)

Tested ACK e9a1e98fa44547afcc9d284c38dc0442159abf7f

image

Tested ACK e9a1e98fa44547afcc9d284c38dc0442159abf7f ![image](https://user-images.githubusercontent.com/3534524/141338852-7b2f14c8-87e1-4e39-a169-a57934d758d1.png)
hebasto commented 2021-11-12 07:00:46 +00:00 (Migrated from github.com)

Updated e9a1e98fa44547afcc9d284c38dc0442159abf7f -> 83f1893265 (pr82.03 -> pr82.04, diff):

  • fixed filename in README.md
Updated e9a1e98fa44547afcc9d284c38dc0442159abf7f -> 83f1893265bfa9b45dfc08cd2cf6d91c451e213d ([pr82.03](https://github.com/hebasto/gui-qml/commits/pr82.03) -> [pr82.04](https://github.com/hebasto/gui-qml/commits/pr82.04), [diff](https://github.com/hebasto/gui-qml/compare/pr82.03..pr82.04)): - fixed filename in README.md
promag (Migrated from github.com) reviewed 2021-11-12 10:02:17 +00:00
promag (Migrated from github.com) left a comment

ACK 83f1893265, just fixed url in readme.

ACK 83f1893265bfa9b45dfc08cd2cf6d91c451e213d, just fixed url in readme.
shaavan (Migrated from github.com) reviewed 2021-11-12 11:10:57 +00:00
shaavan (Migrated from github.com) left a comment

Concept ACK

I was able to download the android apk through the link successfully:

https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/insecure_android_apk.zip?branch=pull/82

The app is working perfectly well on my phone (mi note 5 pro).

Screenshot:

WhatsApp Image 2021-11-12 at 4 23 11 PM

However, when I clicked on the link in the readme file:

https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/insecure_android_apk.zip

I received the following error page message:

Screenshot from 2021-11-12 12-56-52

I am not sure, but this seems like an unexpected thing and should be taken a look at.

On a side note:

I noticed a thing while installing the app on my phone. While installing, the shown icon of the app was a default package icon.

WhatsApp Image 2021-11-12 at 4 35 06 PM

But after installing the bitcoin core icon showed:

WhatsApp Image 2021-11-12 at 4 35 06 PM(1)

This bug could be taken up in a follow-up PR!

Concept ACK I was able to download the android apk through the link successfully: ``` https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/insecure_android_apk.zip?branch=pull/82 ``` The app is working perfectly well on my phone (mi note 5 pro). **Screenshot:** ![WhatsApp Image 2021-11-12 at 4 23 11 PM](https://user-images.githubusercontent.com/85434418/141457582-01e0340c-4c90-4227-b481-6351aca9176e.jpeg) However, when I clicked on the link in the readme file: ``` https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/insecure_android_apk.zip ``` I received the following error page message: ![Screenshot from 2021-11-12 12-56-52](https://user-images.githubusercontent.com/85434418/141457634-5025b88d-1130-4321-9c6d-123caf3ddd6d.png) I am not sure, but this seems like an unexpected thing and should be taken a look at. **On a side note:** I noticed a thing while installing the app on my phone. While installing, the shown icon of the app was a default package icon. ![WhatsApp Image 2021-11-12 at 4 35 06 PM](https://user-images.githubusercontent.com/85434418/141457680-4da2701e-d9f6-4ed6-a047-a7971e23f22c.jpeg) But after installing the bitcoin core icon showed: ![WhatsApp Image 2021-11-12 at 4 35 06 PM(1)](https://user-images.githubusercontent.com/85434418/141457721-1a4546c9-d3a1-42d2-a6e4-3ead4c34b0ab.jpeg) This bug could be taken up in a follow-up PR!
promag commented 2021-11-12 11:17:31 +00:00 (Migrated from github.com)

@shaavan I think it will only work when this gets merged.

@shaavan I think it will only work when this gets merged.
shaavan (Migrated from github.com) approved these changes 2021-11-12 11:21:21 +00:00
shaavan (Migrated from github.com) left a comment

I think it will only work when this gets merged.

If that's the case, then I find no issue with this PR :)

ACK 83f1893265

> I think it will only work when this gets merged. If that's the case, then I find no issue with this PR :) ACK 83f1893265bfa9b45dfc08cd2cf6d91c451e213d
shaavan commented 2021-11-12 12:16:07 +00:00 (Migrated from github.com)

I think it will only work when this gets merged.

@promag @hebasto, the link (https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/insecure_android_apk.zip) is still not working.

> I think it will only work when this gets merged. @promag @hebasto, the link (https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/insecure_android_apk.zip) is still not working.
promag commented 2021-11-12 12:17:02 +00:00 (Migrated from github.com)

@shaavan lets wait master jobs finishes.

@shaavan lets wait master jobs finishes.
promag commented 2021-11-12 13:59:22 +00:00 (Migrated from github.com)

@shaavan it works

@shaavan it works
Sign in to join this conversation.
No description provided.