第三方登录返回40010错误

fftyjw
2017-12-13 12:05 1k 0

已经在app中调用了初始化:

        JPushInterface.setDebugMode(true);     // 设置开启日志,发布时请关闭日志F
        JPushInterface.init(this);             // 初始化 JPush

manifest相关配置如下,appKEY用???代替了:

        <meta-data
            android:name="JPUSH_APPKEY"
            android:value="???" />

        <!-- Required SDK 核心功能-->
        <activity
            android:name="cn.jiguang.share.android.ui.JiguangShellActivity"
            android:configChanges="keyboardHidden|orientation|screenSize"
            android:exported="true"
            android:launchMode="singleTask"
            android:screenOrientation="portrait"
            android:theme="@android:style/Theme.Translucent.NoTitleBar"
            android:windowSoftInputMode="stateHidden|adjustResize">
        </activity>


        <!-- Optional facebook 配置,authorities 必须为 com.facebook.app.FacebookContentProvider+APP_ID;例如 APP_ID 为 123456,则authorities="com.facebook.app.FacebookContentProvider123456"-->
        <provider
            android:authorities="com.facebook.app.FacebookContentProvider???"
            android:name="cn.jiguang.share.facebook.FacebookContentProvider"
            android:exported="true"
        />

极光相关日志如下:

12-13 19:50:11.569 14864-14864/com.ishuaituo.sgame I/JIGUANG-JPush: [PluginPlatformsInterface] whichPlatform - 0
12-13 19:50:11.570 14864-14864/com.ishuaituo.sgame I/JIGUANG-JPush: [PluginPlatformsInterface] isIntegrateFCM -false
12-13 19:50:12.339 15016-15016/? I/JIGUANG-JPush: [PluginPlatformsInterface] whichPlatform - 0
12-13 19:50:12.339 15016-15016/? I/JIGUANG-JPush: [PluginPlatformsInterface] isIntegrateFCM -false
12-13 19:50:12.578 15016-15131/com.ishuaituo.sgame:multiprocess I/JIGUANG-JCore: [NetworkingClient] Begin to run in ConnectingThread - id:1606
12-13 19:50:12.814 15016-15131/com.ishuaituo.sgame:multiprocess I/JIGUANG-JCore: [SisPolicy] Get sis info succeed with host: 103.229.215.60 type:hardcode
12-13 19:50:12.931 15016-15131/com.ishuaituo.sgame:multiprocess I/JIGUANG-JCore: [SisPolicy] Succeed to open connection - ip:103.229.215.41, port:7004
12-13 19:50:12.971 15016-15131/com.ishuaituo.sgame:multiprocess I/JIGUANG-JCore: [ConnectingHelper] Login with - juid:6255292702, appKey:314d56b755f388499d777c61, sdkVersion:65800, pushVersion:196864, analyticsVersion:0 ,shareVersion:66304, pluginPlatformType:0
12-13 19:50:13.098 15016-15131/com.ishuaituo.sgame:multiprocess I/JIGUANG-JCore: [ConnectingHelper] Login succeed - sid:38964, serverTime;1513165813000
12-13 19:50:13.156 15016-15105/com.ishuaituo.sgame:multiprocess I/JIGUANG-JCore: [ReportHelper] periodTasks...

1个回答

热门排序
  • fftyjw
    2017-12-14 02:16
    补充下manifest中的service配置: &lt;service android:name="cn.jpush.android.service.PushService" android:enab 展示全部