Skip to content

sidviswanathan/GrowthAmp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GrowthAmp

##Integration Steps

  1. Download the SDK from here

  2. Drag GrowthAmp.framework and drop in the frameworks group of your project

  3. Drag GrowthAmpResources.bundle and drop in the frameworks group of your project

  4. Drag GAConfig.plist file and drop it into your project.

  5. Added following framework dependancies to your project

    • AddressBook.framework
    • MessageUI.framework
    • SystemConfiguration.framework
    • CoreTelephony.framework
  6. Add the -all_load flag in your projects's Build Settings > Other Linker Flags

  7. Open the GAConfig.plist file and add your Secret Key

  8. Add "#import <GrowthAmp/GrowthAmp.h>" to top of your AppDelegate.m

  9. In your AppDelegate.m, add the following code to application:didFinishWithOptions:

[[GALoader sharedInstance] fetchSettings];
  1. In your AppDelegate.m, add the following code to applicationDidBecomeActive:
[[GALoader sharedInstance] checkAutoLaunch:self.window.rootViewController showSplash:YES];
  1. Add the following code to invoke the Invitations Controller. You can optionally include the current user's name and email before invoking the Invitations Controller. Be sure to add "#import <GrowthAmp/GrowthAmp.h>" at the top of the file.
// Optionally set user contact information before presenting invitation view controller
[GALoader sharedInstance].userContact = @{@"firstName" : @"",
                                          @"lastName"  : @"",
                                          @"email"     : @""};
                                          
// Invoke the Growth Amp invitation view controller
[[GALoader sharedInstance] presentInvitationsFromController:self
                                                 showSplash:YES
                                                sessionType:@"test_button_1"];

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •