---
updatedAt: 2026-04-08T10:24:00.000Z
---

# Collect SDK information from an app install

The Acoustic Campaign SDK provides support for you to verify if the SDK is installed in your app. You can also find the SDK version and retrieve registration details, such as `userID`, `channelID,` and `appKey`.

[block:html]
{
  "html": "<ul class=\"nav nav-pills\">\n    <li class=\"active\"><a data-toggle=\"pill\" href=\"#ios\">iOS </a></li>\n    <li><a data-toggle=\"pill\" href=\"#android\">Android </a></li>\n    <li><a data-toggle=\"pill\" href=\"#react\">React Native </a></li>\n    <li><a data-toggle=\"pill\" href=\"#cordova\">Cordova </a></li>\n    <li><a data-toggle=\"pill\" href=\"#flutter\">Flutter </a></li>\n  </ul>\n\n\n<div class=\"tab-content\">\n  \n<div id=\"ios\" class=\"tab-pane fade in active\">\n\t<h2>Detect SDK installation</h2>\n<p>When using iOS, you can detect if the SDK is installed by employing the following code:\n<div class=\"CodeTabs CodeTabs_initial theme-light\">\n<div class=\"CodeTabs-toolbar\"><button type=\"button\">Objective-C</button></div>\n<div class=\"CodeTabs-inner\"><pre><code class=\"rdmd-code lang-objectivec theme-light\" data-lang=\"objectivec\" name=\"\"><button aria-label=\"Copy Code\" class=\"rdmd-code-copy fa\"></button>\n<div class=\"cm-s-neo\"> <span class=\"cm-comment\">// Detecting if Acoustic SDK is installed </span>\n    <span class=\"cm-keyword\">if</span>(<span class=\"cm-variable\">NSClassFromString</span>(<span class=\"cm-variable\">@</span><span class=\"cm-string\">\"MCESdk\"</span>))\n    {\n        <span class=\"cm-variable\">NSLog</span>(<span class=\"cm-variable\">@</span><span class=\"cm-string\">\"Acoustic SDK Installed.\"</span>);\n    }\n    <span class=\"cm-keyword\">else</span>\n    {\n        <span class=\"cm-variable\">NSLog</span>(<span class=\"cm-variable\">@</span><span class=\"cm-string\">\"Acoustic SDK Not Installed.\"</span>);\n    }\n</div></code></pre></div>\n</div>\n </p>\n  \n<h2>Check SDK version</h2>\n<p>Use the following code to acquire the version of the SDK:\n<div class=\"CodeTabs CodeTabs_initial theme-light\">\n<div class=\"CodeTabs-toolbar\"><button type=\"button\">Objective-C</button></div>\n<div class=\"CodeTabs-inner\"><pre><code class=\"rdmd-code lang-objectivec theme-light\" data-lang=\"objectivec\" name=\"\"><button aria-label=\"Copy Code\" class=\"rdmd-code-copy fa\"></button>\n<div class=\"cm-s-neo\"><span class=\"cm-variable\">NSString</span><span class=\"cm-operator\">*</span> <span class=\"cm-variable\">versionNum</span> <span class=\"cm-operator\">=</span> [<span class=\"cm-variable\">MCESdk</span> <span class=\"cm-variable\">sharedInstance</span>].<span class=\"cm-variable\">sdkVersion</span>;\n    <span class=\"cm-variable\">NSLog</span>(<span class=\"cm-variable\">@</span><span class=\"cm-string\">\"Acoustic SDK version %@\"</span>, <span class=\"cm-variable\">versionNum</span>);\n</div></code></pre></div>\n</div>\n</p>    \n  \n<h2>Retrieve SDK registration details for the device</h2>\n<p>The registration details include important values that are related to the SDK registration for each unique app install.</p>\n<blockquote class=\"callout callout_info\" theme=\"📘\">\n        <h3 class=\"callout-heading false\">\n          <span class=\"callout-icon\">📘</span>\n          <p>Note:</p></h3>\n\t<p>The registration detail properties are not available until the device is registered. Registration happens within seconds of first launching your mobile app.</p>\n</blockquote>\n\t\n  \n<p>You can get the MCE registration details in the <code>AppDelegate</code> class or use the observer pattern to get the registration details and send them to your server.</p>\n<p>Use the following methods to get MCE registration details in the <code>App Delegate</code> class:\n\n <div class=\"CodeTabs CodeTabs_initial theme-light\">\n   <div class=\"CodeTabs-toolbar\"><button type=\"button\">Objective-C</button></div>\n   <div class=\"CodeTabs-inner\"><pre><code class=\"rdmd-code lang-objectivec theme-light\" data-lang=\"objectivec\" name=\"\"><button aria-label=\"Copy Code\" class=\"rdmd-code-copy fa\"></button>\n   <div class=\"cm-s-neo\"><span class=\"cm-operator\">-</span>(<span class=\"cm-type\">void</span>) <span class=\"cm-variable\">aquireIdentification</span>: (<span class=\"cm-variable\">NSNotification</span><span class=\"cm-operator\">*</span>)<span class=\"cm-variable\">note</span>\n { \n <span class=\"cm-variable\">NSString</span> <span class=\"cm-operator\">*</span> <span class=\"cm-variable\">userId</span> <span class=\"cm-operator\">=</span> <span class=\"cm-variable\">MCERegistrationDetails</span>.<span class=\"cm-variable\">sharedInstance</span>.<span class=\"cm-variable\">userId</span>;\n <span class=\"cm-variable\">NSString</span> <span class=\"cm-operator\">*</span> <span class=\"cm-variable\">channelId</span> <span class=\"cm-operator\">=</span> <span class=\"cm-variable\">MCERegistrationDetails</span>.<span class=\"cm-variable\">sharedInstance</span>.<span class=\"cm-variable\">channelId</span>; \n <span class=\"cm-variable\">NSString</span> <span class=\"cm-operator\">*</span> <span class=\"cm-variable\">appKey</span> <span class=\"cm-operator\">=</span> <span class=\"cm-variable\">MCERegistrationDetails</span>.<span class=\"cm-variable\">sharedInstance</span>.<span class=\"cm-variable\">userId</span>; \n <span class=\"cm-comment\">// logging for immediate validation upon install; </span>\n <span class=\"cm-variable\">remove</span> <span class=\"cm-keyword\">for</span> <span class=\"cm-variable\">production</span> <span class=\"cm-variable\">NSLog</span>(<span class=\"cm-variable\">@</span><span class=\"cm-string\">\"muid::: %@\"</span>, <span class=\"cm-variable\">userId</span>);\n <span class=\"cm-variable\">NSLog</span>(<span class=\"cm-variable\">@</span><span class=\"cm-string\">\"channel id::: %@\"</span>, <span class=\"cm-variable\">channelId</span>);\n <span class=\"cm-variable\">NSLog</span>(<span class=\"cm-variable\">@</span><span class=\"cm-string\">\"appkey::: %@\"</span>, <span class=\"cm-variable\">appKey</span>);\n } \n \n <span class=\"cm-operator\">-</span> (<span class=\"cm-type\">BOOL</span>)<span class=\"cm-variable\">application</span>:(<span class=\"cm-variable\">UIApplication</span> <span class=\"cm-operator\">*</span>)<span class=\"cm-variable\">application</span> <span class=\"cm-variable\">didFinishLaunchingWithOptions</span>:(<span class=\"cm-variable\">NSDictionary</span> <span class=\"cm-operator\">*</span>)<span class=\"cm-variable\">launchOptions</span> {\n [[<span class=\"cm-variable\">NSNotificationCenter</span> <span class=\"cm-variable\">defaultCenter</span>] <span class=\"cm-variable\">addObserver</span>:<span class=\"cm-keyword\">self</span> <span class=\"cm-variable\">selector</span>:<span class=\"cm-keyword\">@selector</span>(<span class=\"cm-variable\">aquireIdentification</span>:) <span class=\"cm-variable\">name</span>: <span class=\"cm-variable\">@</span><span class=\"cm-string\">\"MCERegisteredNotification\"</span> <span class=\"cm-variable\">object</span>: <span class=\"cm-atom\">nil</span>];\n [[<span class=\"cm-variable\">NSNotificationCenter</span> <span class=\"cm-variable\">defaultCenter</span>] <span class=\"cm-variable\">addObserver</span>:<span class=\"cm-keyword\">self</span> <span class=\"cm-variable\">selector</span>:<span class=\"cm-keyword\">@selector</span>(<span class=\"cm-variable\">aquireIdentification</span>:) <span class=\"cm-variable\">name</span>: <span class=\"cm-variable\">@</span><span class=\"cm-string\">\"MCERegistrationChangedNotification\"</span> <span class=\"cm-variable\">object</span>: <span class=\"cm-atom\">nil</span>];\n }\n</div></code></pre></div></div> \n \n  </p>\n\n <blockquote class=\"callout callout_info\" theme=\"📘\">\n        <h3 class=\"callout-heading false\">\n          <span class=\"callout-icon\">📘</span>\n          <p>Note:</p></h3>\n   <p>NSNotification is required to know when the device registers with the MCE servers.</p>\n</blockquote>\n\t\n<p>Enable file sharing to save the SDK registration details to iTunes. When file sharing is enabled, the following details are saved in the <code>mce-details.txt</code> file: \n<ul>\n<li>user ID,</li>\n<li>channel ID, </li>\n<li>environment information</li>\n<li>configuration information such as log level, app key, base URL, and session timeout<br>This information is helpful when you try to debug problems.<br><br>To enable file sharing,  set the <code>UIFileSharingEnabled</code> flag to <code>YES</code> in info.plist.</li>\n</ul>\n</p>\n\n  \n</div>\n  <!------------------------------END IOS ------------------------->\n  \n  <div id=\"android\" class=\"tab-pane\">\n    \n<h2> Detect SDK installation</h2>\n<p>To detect if the SDK is installed, use the following code:\n<div class=\"CodeTabs CodeTabs_initial\">\n<div class=\"CodeTabs-toolbar\"><button type=\"button\">Java</button></div>\n<div class=\"CodeTabs-inner\"><pre><code class=\"rdmd-code lang-java\" data-lang=\"java\" name=\"\"><button aria-label=\"Copy Code\" class=\"rdmd-code-copy fa\"></button>\n<div class=\"cm-s-neo\"><span class=\"cm-comment\">// Detecting if Acoustic SDK is installed </span>\n<span class=\"cm-keyword\">try</span> {\n    <span class=\"cm-variable\">Class</span>.<span class=\"cm-variable\">forName</span>(<span class=\"cm-string\">\"co.acoustic.mobile.push.sdk.api.MceSdk\"</span>);\n    <span class=\"cm-variable\">System</span>.<span class=\"cm-variable\">out</span>.<span class=\"cm-variable\">println</span>(<span class=\"cm-string\">\"Acoustic SDK installed\"</span>);\n} <span class=\"cm-keyword\">catch</span> (<span class=\"cm-variable\">ClassNotFoundException</span> <span class=\"cm-variable\">e</span>) {\n  <span class=\"cm-variable\">System</span>.<span class=\"cm-variable\">out</span>.<span class=\"cm-variable\">println</span>(<span class=\"cm-string\">\"Acoustic SDK not installed\"</span>);\n}\n</div></code></pre></div>\n</div>\n </p>\n\n<h2>Check SDK version</h2>\n<p>Use the following code to acquire the version of the SDK:\n<div class=\"CodeTabs CodeTabs_initial\">\n<div class=\"CodeTabs-toolbar\"><button type=\"button\">Java</button></div>\n<div class=\"CodeTabs-inner\"><pre><code class=\"rdmd-code lang-java\" data-lang=\"java\" name=\"\"><button aria-label=\"Copy Code\" class=\"rdmd-code-copy fa\"></button>\n<div class=\"cm-s-neo\"><span class=\"cm-type\">String</span> <span class=\"cm-variable\">versionNum</span> <span class=\"cm-operator\">=</span> <span class=\"cm-variable\">MceSdk</span>.<span class=\"cm-variable\">getSdkVerNumber</span>(); \n<span class=\"cm-variable\">System</span>.<span class=\"cm-variable\">out</span>.<span class=\"cm-variable\">println</span>(<span class=\"cm-string\">\"Acoustic SDK Version: \"</span> <span class=\"cm-operator\">+</span> <span class=\"cm-variable\">versionNum</span>); \n</div></code></pre></div>\n</div>\n</p>    \n    \n<h2>Retrieve SDK registration details</h2>\n<p>The registration details include important values that are related to the SDK registration for each unique app install.</p>\n<blockquote class=\"callout callout_info\" theme=\"📘\">\n        <h3 class=\"callout-heading false\">\n          <span class=\"callout-icon\">📘</span>\n          <p>Note:</p></h3>\n  <p>The registration detail properties are not available until the device is registered. Registration happens within seconds of first launching your mobile app.</p>\n</blockquote>\n\t\n<p>The Android SDK registration includes the following properties:\n<ul>\n<li>channel ID</li>\n<li>user ID </li>\n<li>Is push registered - a flag that indicates whether the device is registered with FCM (true if registered, false if not registered).</li>\n<li>Push token - the registration ID received from FCM after registration. This value is null if registration has not been performed yet.</li>\n</ul>\n</p>\n\n<p>You can get the registration details using the following methods:\n<ol>\n<li value=\"1\">Grab the details properties in Java.\n<br>The following example shows you how to grab the details properties in Java:\n<div class=\"CodeTabs CodeTabs_initial\">\n<div class=\"CodeTabs-toolbar\"><button type=\"button\">Java</button></div>\n<div class=\"CodeTabs-inner\"><pre><code class=\"rdmd-code lang-java\" data-lang=\"java\" name=\"\"><button aria-label=\"Copy Code\" class=\"rdmd-code-copy fa\"></button>\n<div class=\"cm-s-neo\"><span class=\"cm-variable\">RegistrationDetails</span> <span class=\"cm-variable\">registrationDetails</span> <span class=\"cm-operator\">=</span> <span class=\"cm-variable\">MceSdk</span>.<span class=\"cm-variable\">getRegistrationClient</span>().<span class=\"cm-variable\">getRegistrationDetails</span>(<span class=\"cm-variable\">getApplicationContext</span>());\n<span class=\"cm-type\">String</span> <span class=\"cm-variable\">channelId</span><span class=\"cm-operator\">=</span> <span class=\"cm-variable\">registrationDetails</span>.<span class=\"cm-variable\">getChannelId</span>();\n<span class=\"cm-type\">String</span> <span class=\"cm-variable\">userId</span><span class=\"cm-operator\">=</span><span class=\"cm-variable\">registrationDetails</span>.<span class=\"cm-variable\">getUserId</span>();\n<span class=\"cm-type\">boolean</span> <span class=\"cm-variable\">isPushRegistered</span><span class=\"cm-operator\">=</span> <span class=\"cm-variable\">registrationDetails</span>.<span class=\"cm-variable\">isPushRegistered</span>();\n<span class=\"cm-type\">String</span> <span class=\"cm-variable\">pushToken</span><span class=\"cm-operator\">=</span> <span class=\"cm-variable\">registrationDetails</span>.<span class=\"cm-variable\">getPushToken</span>();\n<span class=\"cm-type\">String</span> <span class=\"cm-variable\">appKey</span> <span class=\"cm-operator\">=</span> <span class=\"cm-variable\">MceSdk</span>.<span class=\"cm-variable\">getRegistrationClient</span>().<span class=\"cm-variable\">getAppKey</span>(<span class=\"cm-variable\">getApplicationContext</span>());\n</div></code></pre></div>\n</div>\n  </li>\n<li value=\"2\">Implement the MceBroadcastReceiver class to get the registration details and send them to your server<br>The MceBroadcastReceiver class retrieves the user ID and channel ID in the onSdkRegistered method by using the MceSdk.getRegistrationDetails().getUserId() and MceSdk.getRegistrationDetails().getChannelId() methods.\n</li>\n<li value=\"3\">Obtain MCE registration details by using MceNotificationActionRegistry<br>MceNotificationActionRegistry is for registering custom SDK notification actions.\n</li>\n<li value=\"4\">Implement onDeliveyChannelRegistered method<br>If you want to obtain the push token, you must implement the onDeliveyChannelRegistered method and use the 'MceSdk.getRegistrationDetails().getPushToken()' method.\n</li>\n</ol>\n</p>\n    \n    \n    \n    \n</div>  \n<!-----------------------------END ANDROID------------------------>\n\n <div id=\"react\" class=\"tab-pane\">\n<p>To get the registration details when using React Native, you must add the listener methods below and then retrieve the registration details. Once retrieved, you can then use these values or send them to your service and associate the values with a named user account.</p>\n<div class=\"CodeTabs CodeTabs_initial\">\n<div class=\"CodeTabs-toolbar\"><button type=\"button\">Python</button></div>\n<div class=\"CodeTabs-inner\"><pre><code class=\"rdmd-code lang-python\" data-lang=\"python\" name=\"\"><button aria-label=\"Copy Code\" class=\"rdmd-code-copy fa\"></button>\n<div class=\"cm-s-neo\"><span class=\"cm-keyword\">import</span> {<span class=\"cm-variable\">RNAcousticMobilePush</span>} <span class=\"cm-keyword\">from</span> <span class=\"cm-string\">'NativeModules'</span>;\n<span class=\"cm-keyword\">import</span> {<span class=\"cm-variable\">NativeEventEmitter</span>} <span class=\"cm-keyword\">from</span> <span class=\"cm-string\">'react-native'</span>;\n<span class=\"cm-variable\">const</span> <span class=\"cm-variable\">emitter</span> <span class=\"cm-operator\">=</span> <span class=\"cm-variable\">new</span> <span class=\"cm-variable\">NativeEventEmitter</span>(<span class=\"cm-variable\">RNAcousticMobilePush</span>);\n\n<span class=\"cm-variable\">emitter</span>.<span class=\"cm-property\">addListener</span>(<span class=\"cm-string\">'Registered'</span>, ()<span class=\"cm-operator\">=&gt;</span>{ <span class=\"cm-variable\">updateRegistration</span>(); });\n<span class=\"cm-variable\">emitter</span>.<span class=\"cm-property\">addListener</span>(<span class=\"cm-string\">'RegistrationChanged'</span>, ()<span class=\"cm-operator\">=&gt;</span>{ <span class=\"cm-variable\">updateRegistration</span>(); });\n\n<span class=\"cm-variable\">function</span> <span class=\"cm-variable\">updateRegistration</span>() {\n    <span class=\"cm-variable\">RNAcousticMobilePush</span>.<span class=\"cm-property\">registrationDetails</span>().<span class=\"cm-property\">then</span>((<span class=\"cm-variable\">registrationDetails</span>) <span class=\"cm-operator\">=&gt;</span> {\n        <span class=\"cm-variable\">const</span> <span class=\"cm-variable\">registration</span> <span class=\"cm-operator\">=</span> {<span class=\"cm-variable\">userId</span>: <span class=\"cm-variable\">registrationDetails</span>.<span class=\"cm-property\">userId</span>, <span class=\"cm-variable\">channelId</span>: <span class=\"cm-variable\">registrationDetails</span>.<span class=\"cm-property\">channelId</span>, <span class=\"cm-variable\">appKey</span>: <span class=\"cm-variable\">RNAcousticMobilePush</span>.<span class=\"cm-property\">appKey</span>};\n        <span class=\"cm-operator\">//</span> <span class=\"cm-variable\">Send</span> <span class=\"cm-variable\">registration</span> <span class=\"cm-variable\">details</span> <span class=\"cm-variable\">to</span> <span class=\"cm-variable\">server</span> <span class=\"cm-variable\">here</span>\n    });\n}\n</div></code></pre></div>\n</div>\n       \n    \n    \n    \n    \n    \n</div>  \n<!-----------------------------END react------------------------>\n<div id=\"cordova\" class=\"tab-pane\">\n\n<p>When using Cordova, you can get the registration details using the following methods:\n<ol>\n<li value=\"1\">Subscribe to delegate methods by specifying a method to be called or a block of code to be executed. You can subscribe to changes in registration by using the following code:\n<div class=\"CodeTabs CodeTabs_initial\">\n<div class=\"CodeTabs-toolbar\"><button type=\"button\">JavaScript</button></div>\n<div class=\"CodeTabs-inner\"><pre><code class=\"rdmd-code lang-javascript theme-light\" data-lang=\"javascript\" name=\"\"><button aria-label=\"Copy Code\" class=\"rdmd-code-copy fa\"></button>\n<div class=\"cm-s-neo\"><span class=\"cm-variable\">MCEPlugin</span>.<span class=\"cm-property\">getRegistrationDetails</span>(<span class=\"cm-keyword\">function</span>(<span class=\"cm-def\">details</span>) {\n    <span class=\"cm-keyword\">if</span> (<span class=\"cm-keyword\">typeof</span> <span class=\"cm-variable-2\">details</span>.<span class=\"cm-property\">userId</span> <span class=\"cm-operator\">==</span> <span class=\"cm-string\">\"undefined\"</span> <span class=\"cm-operator\">||</span> <span class=\"cm-keyword\">typeof</span> <span class=\"cm-variable-2\">details</span>.<span class=\"cm-property\">channelId</span> <span class=\"cm-operator\">==</span> <span class=\"cm-string\">\"undefined\"</span>) {\n        <span class=\"cm-comment\">// Not yet registered, no user/channel</span>\n    }\n    <span class=\"cm-variable\">console</span>.<span class=\"cm-property\">log</span>(<span class=\"cm-string\">\"UserId is \"</span> <span class=\"cm-operator\">+</span> <span class=\"cm-variable-2\">details</span>.<span class=\"cm-property\">userId</span>);\n    <span class=\"cm-variable\">console</span>.<span class=\"cm-property\">log</span>(<span class=\"cm-string\">\"ChannelId is \"</span> <span class=\"cm-operator\">+</span> <span class=\"cm-variable-2\">details</span>.<span class=\"cm-property\">channelId</span>);\n});\n\n<span class=\"cm-variable\">MCEPlugin</span>.<span class=\"cm-property\">getAppKey</span>(<span class=\"cm-keyword\">function</span>(<span class=\"cm-def\">appKey</span>) {\n    <span class=\"cm-variable\">console</span>.<span class=\"cm-property\">log</span>(<span class=\"cm-string\">\"AppKey is \"</span> <span class=\"cm-operator\">+</span> <span class=\"cm-variable-2\">appKey</span>);\n} \n</div></code></pre></div>\n</div>\n    </li>\n<li value=\"2\">If you want to obtain the registration details and send it to your server, do it in the MCEPlugin.setRegistrationCallback(function(details) mechanism.</li>\n  </ol>\n  </p>\n\n\n    \n    \n    \n    \n</div>  \n<!-----------------------------END cordova------------------------>\n\n  <div id=\"flutter\" class=\"tab-pane\">\n  \n  <p>You can get the registration details using the following methods:</p>\n<ol>\n<li>Add the necessary imports.</li>\n</ol>\n<div class=\"CodeTabs CodeTabs_initial theme-light\"><div class=\"CodeTabs-toolbar\"><button type=\"button\">Text</button></div><div class=\"CodeTabs-inner\"><pre><code class=\"rdmd-code lang-text theme-light\" data-lang=\"text\" name=\"\"><button aria-label=\"Copy Code\" class=\"rdmd-code-copy fa\"></button><div class=\"cm-s-neo\">import 'package:flutter/material.dart';\nimport 'package:flutter_acoustic_mobile_push/flutter_acoustic_sdk_push.dart';\n</div></code></pre></div></div>\n<ol start=\"2\">\n<li>Create and add the following  variables and function to get the registration details.</li>\n</ol>\n<div class=\"CodeTabs CodeTabs_initial theme-light\"><div class=\"CodeTabs-toolbar\"><button type=\"button\">Dart</button></div><div class=\"CodeTabs-inner\"><pre><code class=\"rdmd-code lang-c theme-light\" data-lang=\"c\" name=\"Dart\"><button aria-label=\"Copy Code\" class=\"rdmd-code-copy fa\"></button><div class=\"cm-s-neo\">\n\n<span class=\"cm-comment\">// Create the following variables</span>\n\n<span class=\"cm-variable\">var</span> <span class=\"cm-variable\">_userId</span> <span class=\"cm-operator\">=</span> <span class=\"cm-string\">\"\"</span>;\n<span class=\"cm-variable\">var</span> <span class=\"cm-variable\">_channelId</span> <span class=\"cm-operator\">=</span> <span class=\"cm-string\">\"\"</span>;\n<span class=\"cm-variable\">var</span> <span class=\"cm-variable\">_appKey</span> <span class=\"cm-operator\">=</span> <span class=\"cm-string\">\"\"</span>;\n\n<span class=\"cm-comment\">// Add the following function</span>\n\n<span class=\"cm-variable\">Future</span><span class=\"cm-operator\">&lt;</span><span class=\"cm-variable\">void</span><span class=\"cm-operator\">&gt;</span> <span class=\"cm-variable\">getDataFromSDK</span>() <span class=\"cm-variable\">async</span> {\n   <span class=\"cm-variable\">var</span> <span class=\"cm-variable\">value</span> <span class=\"cm-operator\">=</span> <span class=\"cm-variable\">RegisiterValue</span>();\n   <span class=\"cm-variable\">value</span>.<span class=\"cm-variable\">getRegisterValue</span>();\n   <span class=\"cm-variable\">value</span>.<span class=\"cm-variable\">userId</span>.<span class=\"cm-variable\">subscribe</span>((<span class=\"cm-variable\">args</span>) {\n     <span class=\"cm-variable\">var</span> <span class=\"cm-variable\">data</span> <span class=\"cm-operator\">=</span> <span class=\"cm-variable\">args</span><span class=\"cm-operator\">!</span>.<span class=\"cm-variable\">changedValue</span>;\n     <span class=\"cm-variable\">setState</span>(() {\n       <span class=\"cm-variable\">_userId</span> <span class=\"cm-operator\">=</span> <span class=\"cm-variable\">data</span>;\n     });\n   });\n \n   <span class=\"cm-variable\">value</span>.<span class=\"cm-variable\">channelId</span>.<span class=\"cm-variable\">subscribe</span>((<span class=\"cm-variable\">args</span>) {\n     <span class=\"cm-variable\">var</span> <span class=\"cm-variable\">data</span> <span class=\"cm-operator\">=</span> <span class=\"cm-variable\">args</span><span class=\"cm-operator\">!</span>.<span class=\"cm-variable\">changedValue</span>;\n     <span class=\"cm-variable\">setState</span>(() {\n       <span class=\"cm-variable\">_channelId</span> <span class=\"cm-operator\">=</span> <span class=\"cm-variable\">data</span>;\n     });\n   });\n \n   <span class=\"cm-variable\">value</span>.<span class=\"cm-variable\">appKey</span>.<span class=\"cm-variable\">subscribe</span>((<span class=\"cm-variable\">args</span>) {\n     <span class=\"cm-variable\">var</span> <span class=\"cm-variable\">data</span> <span class=\"cm-operator\">=</span> <span class=\"cm-variable\">args</span><span class=\"cm-operator\">!</span>.<span class=\"cm-variable\">changedValue</span>;\n     <span class=\"cm-variable\">setState</span>(() {\n       <span class=\"cm-variable\">_appKey</span> <span class=\"cm-operator\">=</span> <span class=\"cm-variable\">data</span>;\n     });\n   });\n }\n</div></code></pre></div></div>\n<ol start=\"3\">\n<li>Whenever you need registration details call the <code>getDataFromSDK</code> function.</li>\n</ol>\n\n</div>\n\n    <!---------------END---------------->      \n</div>\n\n<style>\n    .content-body .header-scroll{\n      font-family: National12, Roboto,sans serif;\n      font-size:24px;\n      color:#13173d;\n      font-weight: 400;\n      line-height: 1.2;\n    }\n   \n    .container {\n      width:100%;\n    }\n    .nav-pills > li.active > a, .nav-pills > li.active > a:hover{\n      color:#fff !important;\n      background-color: #047970;}\n    .nav > li > a{\n      color: #047970 !important;\n      font-family: National2,Roboto,sans serif !important;}\n    .nav > li > a:hover {\n      background-color: #047970;\n      color:#fff !important;}\n    .nav-pills > li > a{\n      border: 1px #047970 solid;}\n    .nav > li > a:focus {\n      background-color: #fff;}\n    .nav-pills > li.active > a, .nav-pills > li.active > a:focus {\n      background-color:#047970!important;}\n    .nav-pills > li + li \n    {\n      margin-top: 0 !important;}\n    </style>"
}
[/block]