Using Apphance Flow‎ > ‎Build steps‎ > ‎

Apphance Service

Apphance Flow enables seamless integration of mobile projects with Apphance's service.  Apphance service enables to remotely debug applications executed on physical machines. Apphance delivers libraries which can be integrated with mobile applications and provide the capabilities of viewing logs generated by the application as well as conditions in which the mobile device is. The information about the application being executed is available with web panel.

The integration that Flow enables  is done in the way that is least intrusive and most useful for the developer.
It enables all - even advanced features of Apphance and at the same time it does not require from developer to change developer's habits. 

On the other hand, it does not require single change in application's code, nor it introduces dependency with Apphance or Flow to be added to application's source code. 

Also - you do not have remember about removing Apphance when submitting the application to the Apple Appstore/Google Play/Windows marketplace. Apphance is only added in Debug builds, market builds are not affected. 

The integration is very simple. Simply run setup of the application and provide Apphance key when asked.

gradle prepareSetup -q

Flow asks for project properties (providing suitable defaults). The only parameters that have to be configured when Apphance is added is Apphance's key (retrieved at http://panel.apphance.com per application) and Apphance integration type (QA - normal build for QA testing or SILENT - silent build only reporting crashes). 

You can disable Apphance by re-running 'prepareSetup' task and disabling apphance.

In case of using varianted builds, Apphance is only added to Debug type builds. Market builds do not have Apphance added. Optionally you can also configure Apphance  to provide different reporting levels and parameters for different variants - either by providing appropriate apphance.properties in variant directory (Android) or by specifying environment variables in appropriate XCode project Configuration. Please refer to http://help.apphance.com for details of configuring Apphance manually.    
Comments