问题标签 [agconnect-functions]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
java - Cannot instance AGConnectFunction
I'm referring to this code lab here: Cloud Functions for Android
Besides that "configure the following address" appears to be a wrongful CN to EN translation
and that I'm using the current version 1.6.0.300
instead; the IDE gives me these imports:
Please don't close for requesting a library; because it is "simply not there" (see the screenshot), despite the AAR is being located at: ~/.gradle/caches/modules-2/files-2.1/com.huawei.agconnect/agconnect-function/1.6.0.300/ed356f3bc516e39734b8a6b1dd7ec9a680d3bffd/agconnect-function-1.6.0.300.aar
and can be extracted, from which I know for certain that it should be called:
And there's also com.huawei.agconnect.function.FunctionRegistrar
, but I have no clue how to obtain an instance. Therefore the question is, how to import class AGConnectFunction
?
php - 如何使用PHP在服务器端验证华为ID
在 Android 应用程序上,我设法使用 AGConnectAuth 检索令牌。现在我想使用 PHP 在服务器端验证该令牌。任何想法?
我尝试使用参数id_token=eyJhbGciOiJQUzI1NiIsImtpZCI6IXXX调用https://oauth-login.cloud.huawei.com/oauth2/v3/tokeninfo并返回以下错误: