-
Under section ios, look for
com.pepo.v2.production-info.plist
- If you are using
xcode
- right click on file
- check for
open as
option and selectsource code
Copy content from file. ( command+c )
- If you are using
-
Open
info.plist
- If you are using
xcode
- right click on file
- check for
open as
option and selectsource code
Paste copied content. ( command+v )
- If you are using
-
Verify copied data
- CFBundleShortVersionString (Bundle versions string, short)
Use appropriate version (it's buid version)
- CFBundleVersion (Bundle version)
User apporiate build number (it's build number)
- CFBundleURLTypes -> CFBundleURLSchemes (URL types -> Item 0 -> URL Schemes -> Item 0)
<string>twitterkit-53Q0hHEe4Hhartej9lFVWZX4C</string>
IMPORTANT
Dont forget to presscommand+s
-
Under section ios, look for
com.pepo.v2.production.GoogleService-Info
- If you are using
xcode
- right click on file
- check for
open as
option and selectsource code
Copy content from file. ( command+c )
- If you are using
-
Open
info.plist
- If you are using
xcode
- right click on file
- check for
open as
option and selectsource code
Paste copied content. (command+v)
- If you are using
-
Verify copied data(check for next line)
- BUNDLE_ID
<string>com.pepo.v2.production</string>
'com.pepo.v2.production': {
API_ROOT: 'https://pepo.com/api/v1',
PLATFORM_API_ENDPOINT: 'https://api.ost.com/mainnet/v2',
TRACKER_ENDPOINT: 'https://px.pepo.com/pp1001_pixel.png',
TOKEN_ID: '1009',
TWITTER_CONSUMER_KEY: '53Q0hHEe4Hhartej9lFVWZX4C',
TWITTER_CONSUMER_SECRET: 'L3jOhUfHr8drwrx8qT7GnvObFtPxTxZkFQbdCWGKawzo7l9avV',
SESSION_KEY_EXPIRY_TIME: 2 * 7 * 24 * 60 * 60, //14 days
SPENDING_LIMIT: PProduction.toString( 10 ),
HIGH_SPEND_SESSION_KEY_EXPIRY_TIME: 1 * 60 * 60 // 1 hour + buffer from config 1 hr = 2 hr
}
No specific set-up needed as same keys used in all environments.
In case to update/modify
keys
- Click on
Pepo2
(top most file). - Click on
Build Phases
- Expand
Run Script
and look for${PROJECT_DIR}/Crashlytics
. If you won't find this check in anotherRun Script
- You can update keys in
"${PROJECT_DIR}/Crashlytics/com.crashlytics.ios-manual/Fabric.framework/run" e500ef3e75c9fb12689f830748bd17e7bfae62a5 f51f922e21caf07d64ae713d3d1aa129a273b1fc28701e78ec67df4b316e21a6
- Open
ios/Pepo2/AppDelegate.m
- Check for function
- (void) setupTrustKit
- Check for respective domain under
kTSKPinnedDomains
key.
@"pepo.com" : @{
kTSKEnforcePinning:@YES,
kTSKIncludeSubdomains: @YES,
kTSKPublicKeyHashes : @[
@"ky8nCk4FQhMGlsodEkZAtJsKgf6pGBHCVE0EThWZog8=",
@"AcAc8wzZwwW7PQ9hdEwubX1YshNI5FF495tRJxkpYLw=",
@"fAeYjyy5PcAEYkvlxLqQqleSup1huF4ZKNfftmfSmsQ=",
@"AC09ehpGZCY0nd9gZDM7ah4Fi+13wsVl4A9QBuxEdo4=",
@"P+kBO3agvFcJWWtwknvbODfmogOW1m8yE12wvmAHyTY="
],
}