IOS swift Login with Google Plus -
while testing google-plus-ios-sdk-1.7.1 on ios 9 sdk, invoking gppsignin.sharedinstance() ends crashing on internal google sign-in sdk call canopenurl
2016-09-22 14:12:56.135 mcn[305:49025] -canopenurl: failed url: "com.google.gppconsent.2.4.1://" - error: "this app not allowed query scheme com.google.gppconsent.2.4.1" 2016-09-22 14:12:56.137 mcn[305:49025] -canopenurl: failed url: "com.google.gppconsent.2.4.0://" - error: "this app not allowed query scheme com.google.gppconsent.2.4.0" 2016-09-22 14:12:56.139 mcn[305:49025] -canopenurl: failed url: "com.google.gppconsent.2.3.0://" - error: "this app not allowed query scheme com.google.gppconsent.2.3.0" 2016-09-22 14:12:56.140 mcn[305:49025] -canopenurl: failed url: "com.google.gppconsent.2.2.0://" - error: "this app not allowed query scheme com.google.gppconsent.2.2.0" 2016-09-22 14:12:56.141 mcn[305:49025] -canopenurl: failed url: "com.google.gppconsent://" - error: "this app not allowed query scheme com.google.gppconsent" 2016-09-22 14:12:56.143 mcn[305:49025] -canopenurl: failed url: "hasgplus4://" - error: "this app not allowed query scheme hasgplus4"
add schemes
<key>lsapplicationqueriesschemes</key> <array> <string>com.example.foo</string> <string>com.googleusercontent.apps.1234567890-abcdefghijklmnopqrstuvwxyz</string> <string>com-google-gidconsent-google</string> <string>com-google-gidconsent-youtube</string> <string>com-google-gidconsent</string> <string>com.google.gppconsent.2.4.1</string> <string>com.google.gppconsent.2.4.0</string> <string>googlechrome</string> <string>googlechrome-x-callback</string> </array>
get other crashing
2016-09-22 14:20:01.169 mcn[309:50443] -canopenurl: failed url: "com.google.gppconsent.2.4.1://" - error: "(null)" 2016-09-22 14:20:01.171 mcn[309:50443] -canopenurl: failed url: "com.google.gppconsent.2.4.0://" - error: "(null)" 2016-09-22 14:20:01.173 mcn[309:50443] -canopenurl: failed url: "com.google.gppconsent.2.3.0://" - error: "this app not allowed query scheme com.google.gppconsent.2.3.0" 2016-09-22 14:20:01.175 mcn[309:50443] -canopenurl: failed url: "com.google.gppconsent.2.2.0://" - error: "this app not allowed query scheme com.google.gppconsent.2.2.0" 2016-09-22 14:20:01.177 mcn[309:50443] -canopenurl: failed url: "com.google.gppconsent://" - error: "this app not allowed query scheme com.google.gppconsent"
i think below may work you.
<key>lsapplicationqueriesschemes</key> <array> <string>com-google-gidconsent-google</string> <string>com-google-gidconsent-youtube</string> <string>com-google-gidconsent</string> <string>com.google.gppconsent.2.4.1</string> <string>com.google.gppconsent.2.4.0</string> <string>googlechrome</string> <string>googlechrome-x-callback</string> <string>hasgplus4</string> <string>com.google.gppconsent.2.3.0</string> <string>com.google.gppconsent.2.2.0</string> <string>com.google.gppconsent</string> </array>
Comments
Post a Comment