DonateToUkraine uses monobank’s official donation service. You can always donate on your own: https://uahelp.monobank.ua
DonateToUkraine gives you a simple way to provide “donate to Ukraine” functionality in your app via an official donation service (endorsed here). The service will be opened inside the app, keeping a native feel. Apple Pay is supported.
Additionally, DonateToUkraine also provides you with DonateToUkraineButton out of the box in different styles, and a UserDefaults-backed way to track completed donations.
.black
.white
.automatic // .black in light mode, .white in dark mode
.blackOutline
.whiteOutline
.automaticOutline
Variants (text):
.donate // "Donate to Ukraine", default
DonateToUkraineButton.Variant(rawValue:) // custom text
Donation tracking & history
You can use this to “unlock” some functionality after a donation is made.
if DonateToUkraine.hasDonated {
/* success! */
}
let allDonations = DonateToUkraine.donationReceipts
let totalDonatedUAH = DonateToUkraine.totalDonated.uah
let totalDonatedUSD = DonateToUkraine.totalDonated.approxUSD
Note: donation history uses UserDefaults and is cleared on app uninstall.
For transparency and reporting purposes, DonateToUkraine will report every successful donation to a dedicated service. The report consists only of receipt ID and donation amount, no other information is sent. However, if you want to opt out, add this line in your AppDelegate.swift or similar:
Click File → Swift Packages → Add Package Dependency.
Enter http://github.com/dreymonde/DonateToUkraine.git.
What happens to the money?
DonateToUkraine uses an official donation service created by Monobank, one of the largest and most trusted banks in Ukraine. The service was endorsed by the Ukrainian government here.
As you can read on the https://uahelp.monobank.ua webpage, every donation is transferred directly to a special account opened by the National Bank of Ukraine to raise funds for Ukraine’s Armed Forces. Official announcement of the account: here.
NBU regularly reports on the money it raises, and how it’s being distributed. An example of such report here.
Keep in mind that weapons are negotiated between governments on a higher level and are funded / purchased through different channels. The vast majority of donations made to the official NBU account goes towards support payments for soldiers and their families, as well as local purchases of medical supplies, protective gear etc.
If you have any questions regarding the donations, don’t hesitate to reach out to me at oleg@dreyman.dev.
DonateToUkraine
DonateToUkraine gives you a simple way to provide “donate to Ukraine” functionality in your app via an official donation service (endorsed here). The service will be opened inside the app, keeping a native feel. Apple Pay is supported.
Additionally, DonateToUkraine also provides you with
DonateToUkraineButton
out of the box in different styles, and a UserDefaults-backed way to track completed donations.Maintainer: @dreymonde
Usage
Using
DonateToUkraineViewController
“Donate to Ukraine” buttons
Styles:
Variants (text):
Donation tracking & history
You can use this to “unlock” some functionality after a donation is made.
Note: donation history uses
UserDefaults
and is cleared on app uninstall.For transparency and reporting purposes, DonateToUkraine will report every successful donation to a dedicated service. The report consists only of receipt ID and donation amount, no other information is sent. However, if you want to opt out, add this line in your
AppDelegate.swift
or similar:Apps that use “DonateToUkraine”
Installation
Swift Package Manager
http://github.com/dreymonde/DonateToUkraine.git
.What happens to the money?
DonateToUkraine uses an official donation service created by Monobank, one of the largest and most trusted banks in Ukraine. The service was endorsed by the Ukrainian government here.
As you can read on the https://uahelp.monobank.ua webpage, every donation is transferred directly to a special account opened by the National Bank of Ukraine to raise funds for Ukraine’s Armed Forces. Official announcement of the account: here.
NBU regularly reports on the money it raises, and how it’s being distributed. An example of such report here.
Keep in mind that weapons are negotiated between governments on a higher level and are funded / purchased through different channels. The vast majority of donations made to the official NBU account goes towards support payments for soldiers and their families, as well as local purchases of medical supplies, protective gear etc.
If you have any questions regarding the donations, don’t hesitate to reach out to me at oleg@dreyman.dev.