Mobile SDK: Considerations & Best Practices
- 10. What do we need to
consider when
building a SDK?
- 16. Your SDK is a guest
in its host app
Creative Commons Image: Liz Mc
https://www.flickr.com/photos/11638547@N00/3827808607
- 31. ..but definitely use them if
permission has been given
Class $CLLocationManager =
NSClassFromString(@"CLLocationManager");
if ([CLLocationManager authorizationStatus] != kCLAuthorizationStatusDenied) {!
..!
}!
- 37. Local Storage & Security
• Don’t use local storage it you don’t have to
• If you do, take good care of app data
• Encrypt sensitive information
• Purge it when you’re done
• Use SSL for all networking
- 48. Use CocoaPods..
platform :ios, '7.0'!
!
pod 'AFNetworking', '~> 2.1'!
pod 'Reachability'!
pod 'LivePerson', '~> 1.5.448'!
pod 'SocketRocket', '= 0.3.1-beta2'
- 49. ..or a minimum integration flow
1. Add required frameworks
2. Add SDK
- 64. What about assets?
• Use flat design when you can
• PNG crush required assets
• Consider downloading and caching
• Download bundle on first launch