Skip to content

hjanuschka/fastlane-plugin-sharethemeal

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

This Plugin Enables unattended automated Donations of any size to the ShareTheMeal Inititative from the World-Food-Program

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages