Replies: 12 comments
-
Based on this repository: https://www.cgeo.org/development#f-droid-repository
So we could do something like:
And while that would make for a neat URL, the documentation states that:
|
Beta Was this translation helpful? Give feedback.
-
Although I did test this with some other repos, like https://microg.org/fdroid/repo/ and it doesn't seem to work. F-Droid doesn't open. |
Beta Was this translation helpful? Give feedback.
-
I looked in the I created my own issue to see if this is a known issue: https://gitlab.com/fdroid/fdroidclient/-/issues/2251 |
Beta Was this translation helpful? Give feedback.
-
When I try to run
|
Beta Was this translation helpful? Give feedback.
-
Thanks to tests by @qoqobolo it turns out that F-Droid repo deep linking(intent filter) works in other applications than browsers, for example in chat applications like Discord. I confirmed this myself and it does indeed work. For this reason it would indeed make most sense to put the repo under https://status.im/frdroid/repo. |
Beta Was this translation helpful? Give feedback.
-
I tried making a custom shell with Android SDK in it to do this: { pkgs ? import <nixpkgs> { config.android_sdk.accept_license = true; } }:
let
androidEnv = pkgs.androidenv.composeAndroidPackages {
toolsVersion = "26.1.1";
platformToolsVersion = "31.0.2";
buildToolsVersions = [ "30.0.3" ];
platformVersions = [ "29" ];
cmakeVersions = [ "3.18.1" ];
ndkVersion = "22.1.7171670";
includeNDK = true;
includeExtras = [
"extras;android;m2repository"
"extras;google;m2repository"
];
};
in pkgs.mkShell {
name = "status-fdroidata";
buildInputs = with pkgs; [ python38 python38Packages.androguard ];
ANDROID_HOME = "${androidEnv.androidsdk}";
} But I'm getting the same
I think I will try a container of a VM to compare with a non-Nix system. |
Beta Was this translation helpful? Give feedback.
-
Okay, with this shell setup I managed to get it working: { pkgs ? import <nixpkgs> { config.android_sdk.accept_license = true; } }:
let
androidEnv = pkgs.androidenv.composeAndroidPackages {
toolsVersion = "26.1.1";
platformToolsVersion = "31.0.2";
buildToolsVersions = [ "30.0.3" ];
platformVersions = [ "29" ];
cmakeVersions = [ "3.18.1" ];
ndkVersion = "22.1.7171670";
};
myPython38 = pkgs.python38.withPackages (
python-packages: with (pkgs.python38Packages); [ androguard ]
);
in pkgs.mkShell {
name = "status-fdroidata";
buildInputs = with pkgs; [ fdroidserver myPython38 ];
ANDROID_HOME = "${androidEnv.androidsdk}";
}
|
Beta Was this translation helpful? Give feedback.
-
This generates and
<?xml version="1.0" encoding="utf-8"?>
<fdroid>
<repo icon="fdroid-icon.png" name="Status.im F-Droid Repo" pubkey="3082...6981" timestamp="1629381541" url="https://status.im/fdroid/repo" version="21">
<description>This is a repository of Status application releases for Android.
Status is a Cryptocurrency wallet, Private messenger, and Ethereum DApp Browser all in one </description>
</repo>
<application id="im.status.ethereum">
<id>im.status.ethereum</id>
<added>2021-08-19</added>
<lastupdated>2021-08-19</lastupdated>
<name>Status</name>
<summary/>
<icon>im.status.ethereum.2021071411.png</icon>
<desc><p>No description available</p></desc>
<license>Unknown</license>
<categories>status-fdroiddata</categories>
<category>status-fdroiddata</category>
<web/>
<source/>
<tracker/>
<marketversion/>
<marketvercode>2147483647</marketvercode>
<package>
<version>1.15.0</version>
<versioncode>2021071411</versioncode>
<apkname>StatusIm-Mobile-v1.15.0-5e46db.apk</apkname>
<hash type="sha256">3c1f363e366d8b8178aad804f87a792ef5ce3200c6985ef04930daf51fcfe508</hash>
<size>90386188</size>
<sdkver>23</sdkver>
<targetSdkVersion>29</targetSdkVersion>
<added>2021-08-19</added>
<sig>dd412f369ff54ab1d9fa79c19865ba6d</sig>
<permissions>ACCESS_FINE_LOCATION,ACCESS_NETWORK_STATE,ACCESS_WIFI_STATE,CAMERA,FOREGROUND_SERVICE,INTERNET,NFC,READ_EXTERNAL_STORAGE,RECEIVE_BOOT_COMPLETED,RECORD_AUDIO,USE_FINGERPRINT,VIBRATE,WAKE_LOCK,WRITE_EXTERNAL_STORAGE,com.android.vending.BILLING,com.google.android.c2dm.permission.RECEIVE,com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE</permissions>
<nativecode>arm64-v8a,armeabi-v7a,x86,x86_64</nativecode>
<features>android.hardware.camera,android.hardware.camera.autofocus</features>
</package>
</application>
</fdroid> |
Beta Was this translation helpful? Give feedback.
-
I am seeing some warnings when adding the APKs, but they don't seem to matter:
The APKs get imported without issues:
|
Beta Was this translation helpful? Give feedback.
-
If you use
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I will move this to a discussion, since this looks like the best place, until is actionable/we are ready to work on it |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Being dependent on F-Droid own submission and build process makes it hard to sync releases. It is possible to maintain your own F-Droid repository which would make use more independent in terms of submitting new versions:
https://f-droid.org/en/docs/Setup_an_F-Droid_App_Repo/
List of other known repositories:
https://forum.f-droid.org/t/known-repositories/721
https://f-droid.org/wiki/page/Known_Repositories
Beta Was this translation helpful? Give feedback.
All reactions