
シェア:
AlvaroはVonageの開発者支持者であり、ネットワークAPIに焦点を当てています。デベロッパーエクスペリエンス、API、オープンソースに情熱を注ぐ。仕事以外では、コミックショップを探検したり、SFやホラーフェスティバルに参加したり、有名な小さなプラスチックブロックで何かを作ったりしているところをよく見かける。
Silent Auth SDKs Will Be Removed from GitHub Soon
所要時間:2 分
Introduction
As part of our ongoing efforts to simplify and modernize our mobile SDK ecosystem, we will be archiving two repositories from the Vonage GitHub organization on March 31, and will no longer be maintained.
The following SDKs were previously marked as deprecated and are no longer maintained:
The functionality previously provided by the deprecated Silent Auth SDKs is now available through our maintained client libraries:
If your application still depends on the Silent Auth SDKs, we recommend migrating to the new, maintained client libraries described above.
How to Migrate
Migrating to the new SDKs mainly involves updating your dependencies, imports, and client initialization.
Android Migration
Update your project dependencies to replace the old library:
com.vonage:client-sdk-silent-authWith the new one:
com.vonage:client-libraryRemove the existing import:
import com.vonage.silentauth.VGSilentAuthClientAnd replace it with:
import com.vonage.clientlibrary.VGCellularRequestClientReplace the current SDK initialization with the new library:
VGCellularRequestClient.initializeSdk(this.applicationContext)Finally, update the network call as follows:
val params = VGNumberVerificationParameters(
url = "http://www.vonage.com",
headers = mapOf("x-my-header" to "My Value"),
queryParameters = mapOf("query-param" to "value"),
maxRedirectCount = 10
)
val response =
VGNumberVerificationClient.getInstance().startNumberVerification(params, true) iOS Migration
Update your project dependencies to replace the old library:
VonageClientSDKSilentAuthWith the new one:
VonageClientLibraryRemove the existing import:
import VonageClientSDKSilentAuthWith:
import VonageClientLibraryReplace the current SDK initialization with the new library:
let client = VGCellularRequestClient()Finally, update the network call as follows:
let params = VGNumberVerificationParameters(
url: "http://www.vonage.com",
headers: ["x-my-header": "My Value"],
queryParameters: ["query-param": "value"],
maxRedirectCount: 10
)
let response = try await client.startNumberVerification(params: params) Need Help?
If you have questions about migrating to the new client libraries, feel free to open an issue in the SDK repositories or reach out through our developer support channels.
ご質問がある場合、またはあなたが作っているものを共有したい場合は、こちらをクリックしてください。
会話に参加する VonageコミュニティSlack
登録する 開発者ニュースレター
フォローする X(旧ツイッター)最新情報
チュートリアルを見る YouTubeチャンネル
LinkedInの LinkedIn の Vonage デベロッパーページ
最新の開発者向けニュース、ヒント、イベント情報をお届けします。