allowance app in phonegap/iOS/Android