@@ -45,6 +45,7 @@ post_install do |installer|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
'$(inherited)',
'PERMISSION_LOCATION=1',
+ 'PERMISSION_CONTACTS=1',
]
end
@@ -43,6 +43,8 @@
</array>
<key>LSRequiresIPhoneOS</key>
<true/>
+ <key>NSContactsUsageDescription</key>
+ <string>为了通过通讯录邀请好友,请您允许我们访问您的通讯录信息</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>为给您更好的定位体验,请您允许我们使用精确位置</string>
<key>NSLocationWhenInUseUsageDescription</key>