No commit activity in last 3 years
No release in over 3 years
ShareTheMeal
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.104.0
>= 0
>= 0
>= 0

Runtime

 Project Readme

ShareTheMeal Plugin for Fastlane

fastlane Plugin Badge

![Screenshot](assets/screen1.png)

About

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

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.

Setup

Add Plugin

fastlane add_plugin sharethemeal

Get your UserHash

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.

Example

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.

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting doc in the main fastlane repo.

About fastlane

fastlane is the easiest way to automate building and releasing your iOS and Android apps. Check out fastlane.tools.