Skip to content

kelp404/Victory-iOS

Repository files navigation

#Victory-iOS

Kelp http://kelp.phate.org/
[MIT License][mit]
[MIT]: http://www.opensource.org/licenses/mit-license.php

Victory is an error reporting server. It runs on Google App Engine.
This project Victory-iOS is an error reporter demo. It could send crash, log information to Victory server.

##Clone

$ git clone --recursive git://github.com/kelp404/Victory-iOS.git

##Example

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
    
    self.title = @"Victory - iOS";
    
    // setup victory
    // these are your victory server url and application key
    [Victory setUrl:@"https://victory-demo.appspot.com/api/v1"
            andAppKey:@"0571f5f6-652d-413f-8043-0e9531e1b689"];

    // app user name
    [Victory setUserName:@"Kelp" userEmail:@"kelp@phate.org"];
}

// send log report method
- (void)sendLogReport
{
    // send a log report
    [Victory sendLogReportWithTitle:@"Login successful" description:@"account: 10210\nname: Kelp"];
}

##References

About

Victory iOS demo code. An error and crash reporter example code.

Resources

Stars

Watchers

Forks

Packages

No packages published