AgoraDesk will be winding down
- Effective immediately, all new signups and ad postings are disabled;
- On May 14th, 2024, new trades will be disabled as well;
- After November 7th, 2024, the website will be taken down. Please reclaim any funds from your arbitration bond wallet prior to that date, otherwise the funds may be considered abandoned/forfeited.
Yadda ake buga Flutter app ɗinku tare da abubuwan dandano akan F-Droid?
F-Droid kasida ce mai shigar da aikace-aikacen FOSS (Free and Open Source Software) don dandamalin Android. Abokin ciniki yana sauƙaƙa don lilo, shigarwa, da kuma lura da sabuntawa akan na'urarka. Gidan yanar gizon F-Droid
Duk matakai daga wannan koyawa za su yi aiki don app ba tare da dandano ba.
Wadanne apps ne za a iya haɗa su zuwa F-Droid?
Ana iya haɗa ƙa'idar a cikin F-Droid kawai idan ta buɗe tushen gaba ɗaya - gami da duk ɗakunan karatu da abubuwan dogaro da aka yi amfani da su. Ƙara koyo game da manufar haɗawa anan.
Misali, idan kuna amfani da bayanan ObjectBox a cikin app ɗinku, ba za a iya haɗa ' a cikin F-Droid ( tattaunawa ).
Mataki na 1
- Fork ma'ajiyar fdroiddata akan Gitlab.
- Rufe ma'ajiyar ga na'urar ku.
- Ƙirƙiri reshe tare da lambar ID na app, misali
co.localmonero.app
Mataki na 2
Duba cewa fdroid
yana aiki daidai. Gudanar da waɗannan umarni a cikin babban fayil ɗin fdroid
:
fdroid init
fdroid readmeta
Mataki na 3
Ƙara aikinku:
shigo da fdroid --url https://github.com/YOUR_REPO --subdir app
Zai ƙirƙiri fayil a cikin jagorar metadata, misali metadata/co.localmonero.app.yml
.
Hakanan zaka iya ƙirƙirar wannan fayil ɗin da hannu.
Mataki na 4
Buɗe fayil ɗin kuma gyara shi. Ga misali: https://gitlab.com/fdroid/fdroiddata/-/blob/master/metadata/co.localmonero.app.yml.
A cikin misalin zaku iya gani:
- Ana amfani da Flutter azaman submodule - wannan buƙatu ne daga ƙungiyar F-Droid.
- Ga kowane dandano mun yi amfani da reshe daban (umurni
AutoUpdateMode: Sigar% v-fdroid-lm
). Wannan saboda Fastlane baya ' ba ya goyan bayan abubuwan dandano tare da Flutter. - Da farko muna ƙara bayanin gini da hannu, nan gaba za a ƙara ta ta atomatik ta bot, bayan mun tura sabon tag.
Duba cewa fayil ɗin yana da daidaitaccen tsarin aiki: fdroid readmeta
.
Mataki na 5
Yanzu, bari mu ƙara bayanai don kasuwar F-Droid. Don haka muna ƙirƙirar reshe daban don kowane dandano:
- https://github.com/AgoraDesk-LocalMonero/agoradesk-app-foss/tree/fdroid_ad
- https://github.com/AgoraDesk-LocalMonero/agoradesk-app-foss/tree/fdroid_lm
Bayan haka, muna ƙirƙirar babban fayil don Fastlane: https://github.com/AgoraDesk-LocalMonero/agoradesk-app-foss/tree/fdroid_ad/fastlane/metadata/android/en-US.
Ƙara bayanan da ake buƙata kuma danna shi.
Mataki na 6
Lokaci ya yi da za a ƙara ƙa'idar zuwa F-Droid.
- Ƙirƙiri alama a cikin ma'ajiyar manhajar ku.
- Tura canje-canje zuwa wurin ajiyar F-Droid akan Gitlab.
- Yi buƙatar haɗin kai a cikin Gitlab repo. Yi amfani da id na app ɗinku a cikin take.
- Jira bita daga ƙungiyar F-Droid.
Kammalawa
Tsarin yana ɗan rikitarwa kuma batutuwa daban-daban na iya tasowa akan hanya. Amma da zarar kun kafa CI, za a sarrafa abubuwan sabuntawa ta atomatik.
Idan kuna da tambayoyi, jin daɗin yin su akan GitHub.