intercom-ios

Intercom.io Custom Attributes for Swift aren't working

做~自己de王妃 提交于 2019-12-23 01:34:06
问题 I'm trying to implement custom attributes for Intercom.io into my iOS app. I'm in XCode 7, Swift 2 and iOS 9. Here's my code: class func updateUser(user: User) { Intercom.updateUserWithAttributes([ "name": user.name, "email": user.email ]) let userAttributes = ([ "role": "customer", "phone": user.phone, "First Name": user.firstName, "Last Name": user.lastName, "Referral Code": user.referralCode, "Avatar Pic": user.avatarURL, "Profile Pic": user.profilePicURL ]) Intercom

Intercom.io Custom Attributes for Swift aren't working

依然范特西╮ 提交于 2019-12-06 14:46:54
I'm trying to implement custom attributes for Intercom.io into my iOS app. I'm in XCode 7, Swift 2 and iOS 9. Here's my code: class func updateUser(user: User) { Intercom.updateUserWithAttributes([ "name": user.name, "email": user.email ]) let userAttributes = ([ "role": "customer", "phone": user.phone, "First Name": user.firstName, "Last Name": user.lastName, "Referral Code": user.referralCode, "Avatar Pic": user.avatarURL, "Profile Pic": user.profilePicURL ]) Intercom.updateUserWithAttributes(["custom_attributes": userAttributes]) } I am successfully submitting "name" & "email" but my

PODS_ROOT and other pods env variables not set when compiling Ionic app

时光毁灭记忆、已成空白 提交于 2019-12-06 01:50:00
问题 I have built an Ionic 2 app which uses Intercom (a third-party extension). Intercom is installed using cocoapods. When compiling my app I am given the errors: diff: /Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or directory error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. This is being generated by the Build Phase [CP] Check Pods Manifest.lock : diff "${PODS_PODFILE_DIR_PATH}/Podfile.lock" "${PODS

PODS_ROOT and other pods env variables not set when compiling Ionic app

六眼飞鱼酱① 提交于 2019-12-04 07:59:54
I have built an Ionic 2 app which uses Intercom (a third-party extension). Intercom is installed using cocoapods. When compiling my app I am given the errors: diff: /Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or directory error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. This is being generated by the Build Phase [CP] Check Pods Manifest.lock : diff "${PODS_PODFILE_DIR_PATH}/Podfile.lock" "${PODS_ROOT}/Manifest.lock" > /dev/null if [ $? != 0 ] ; then # print error to STDERR echo "error: The sandbox