--- title: "SDK Initialization Errors" slug: "webview-sdk-initialization-errors" description: "Fix 'Insider SDK is not initialized' errors in WebView, initialize the native SDK before calling any window.insider methods." updated: 2026-02-11T11:18:59Z published: 2026-02-11T11:18:59Z canonical: "academy.insiderone.com/webview-sdk-initialization-errors" --- > ## Documentation Index > Fetch the complete documentation index at: https://academy.insiderone.com/llms.txt > Use this file to discover all available pages before exploring further. # SDK Initialization Errors Ensure the native SDK is initialized before using WebView features: ```swift // iOS: Initialize before setting up WebView Insider.initWithLaunchOptions(  launchOptions,  partnerName: "",  appGroup: "" ) ``` Then, somewhere in your main view controller, set up the WebView library ```swift Insider.setupWebViewSDK(on: webView) ``` If initialization fails or is not called, you'll receive the following message upon calling a method: "Insider SDK is not initialized. Please initialize Insider SDK before using Insider WebView features." ```typescript window.insider.getInsiderID()  .then((insiderID) => {    console.log('Insider ID:', insiderID);  })  .catch(error => {    console.error(error);    // Output: "Insider SDK is not initialized. Please initialize Insider SDK before using Insider WebView features."  }); ```