Using this fastlane plugin you can automatically donate food on ShareTheMeal using fastlane.
fastlane saves us hours of work, which eventually saves us a lot of money. This is my way of reminding myself to give, on every deploy using fastlane.
ShareTheMeal is a crowdfunding application to fight global hunger launched by the United Nations World Food Programme (WFP) in 2015. It enables users to make small donations to specific WFP projects and to track its progress. As of August 2016, ShareTheMeal has over 600,000 downloads and 7 million meals shared.
fastlane add_plugin sharethemeal
To get started, you have to provide the payment information on your account
Step | |
---|---|
💾 | Download the ShareTheMeal app (Appstore, Google Play |
🚀 | Open the app |
🍕 | Do a single donation manually to enter your credit card information |
📱 | Login and go to your profile |
🛠 | Open the setting screen |
👊 | Tap the version label at the bottom a few times |
Setup | |
---|---|
Step 1 | Step 2 |
Step 3 | Step 4 |
After this you have your userhash
in the clipboard.
lane :donate do
sharethemeal(
amount: "0.4",
userhash: "XXX",
currency: "EUR"
)
end
lane :deployment do
gym # Build your app
deliver # Submit your app
donate # Call the `donate` lane
end
You can also pass the userhash in your SHARETHEMEAL_USERHASH
environment variable.
If you have trouble using plugins, check out the Plugins Troubleshooting doc in the main fastlane
repo.
fastlane
is the easiest way to automate building and releasing your iOS and Android apps. Check out fastlane.tools.