Jekyll2023-12-13T14:50:03+00:00https://vidinoti.github.io/feed.xmlVidinoti documentationDiscover the Vidinoti documentation for using the augmented reality platform. The documentation covers in particular the Vidinoti SDK. The SDK is available for Android and iOS. Several plugins are also available for Cordova, Ionic and Xamarin.
Workaround for iOS SDK crash when building a Swift app with Xcode 10.12018-12-13T10:00:00+00:002018-12-13T10:00:00+00:00https://vidinoti.github.io/201812-ios-xcode-swift-crash<h1 id="description-of-the-problem">Description of the problem</h1>
<p>We discovered a bug when building iOS Swift applications integrating our Vidinoti SDK with Xcode 10.1. The application will crash at startup if running on device running iOS 11. This is very unfortunate and we propose here a workaround.</p>
<p>We filled a bug report to Apple and we hope that it will be resolved for the next release of Xcode.</p>
<p>In the meantime, please do the following for avoiding the bug:</p>
<ul>
<li>Create two Objective-C files on your project called <code class="language-plaintext highlighter-rouge">VDARLocalizationManager.m</code> and <code class="language-plaintext highlighter-rouge">VDARLocalizationManager.h</code>.</li>
<li>Edit the files and add the content below.</li>
</ul>
<h3 id="vdarlocalizationmanagerh">VDARLocalizationManager.h</h3>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>#import <Foundation/Foundation.h>
@interface VDARLocalizationManager : NSObject {
}
+ (VDARLocalizationManager*)sharedInstance;
@end
</code></pre></div></div>
<h3 id="vdarlocalizationmanagerm">VDARLocalizationManager.m</h3>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>#import "VDARLocalizationManager.h"
@implementation VDARLocalizationManager
+ (VDARLocalizationManager*)sharedInstance
{
return nil;
}
@end
</code></pre></div></div>Description of the problemUpgrade from Android 6.3 or earlier2018-05-01T10:00:00+00:002018-05-01T10:00:00+00:00https://vidinoti.github.io/201805-android-migration<h1 id="android-push-notifications-migration-from-gcm-to-fcm">Android push notifications: Migration from GCM to FCM.</h1>
<p>Google has deprecated GCM (Google Cloud Messaging) and will remove its support as soon as April 11, 2019. For supporting Android push notifications from V-Director after this date, you need upgrade your app with the latest Vidinoti SDK.</p>
<p>Follow the steps described here for migrating your app to the new Firebase Cloud Messaging.</p>
<h2 id="remove-code-related-to-gcm">Remove code related to GCM</h2>
<h3 id="gradle-build-file">Gradle build file</h3>
<p>In your app App-level <code class="language-plaintext highlighter-rouge">build.gradle</code> (<code class="language-plaintext highlighter-rouge">yourProject/yourAppModule/build.gradle</code>), remove any GCM dependency.</p>
<p>Delete the line <code class="language-plaintext highlighter-rouge">compile 'com.google.android.gms:play-services-gcm:..'</code>.</p>
<h3 id="androidmanifest-file">AndroidManifest file</h3>
<p>Delete the permission related to GCM.</p>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code> <!-- Permissions for notifications -->
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<permission android:name="com.mycompany.myarapplication.permission.C2D_MESSAGE" android:protectionLevel="signature" />
<uses-permission android:name="com.mycompany.myarapplication.permission.C2D_MESSAGE" />
</code></pre></div></div>
<p>Delete the service and receiver.</p>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code> <!-- For notifications -->
<service android:name=".GcmService" android:exported="false">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
</intent-filter>
</service>
<receiver
android:name="com.google.android.gms.gcm.GcmReceiver"
android:exported="true"
android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="com.mycompany.myarapplication" />
</intent-filter>
</receiver>
</code></pre></div></div>
<h3 id="delete-unused-class">Delete unused class</h3>
<p>Delete the <code class="language-plaintext highlighter-rouge">GcmService</code> class that was referenced in your <code class="language-plaintext highlighter-rouge">AndroidManifest.xml</code> file.</p>
<h2 id="add-support-for-fcm">Add support for FCM</h2>
<p>Follow the guide available in the documentation: <a href="/documentation/sdk/android-push">Configure push notifications for Android</a></p>Android push notifications: Migration from GCM to FCM.New documentation2017-08-02T15:30:35+00:002017-08-02T15:30:35+00:00https://vidinoti.github.io/201708-new-website<h1 id="new-documentation-web-site">New documentation web site.</h1>
<p>We introduce this new website for providing relevent documentation to our users. We start with few information but we will continue adding new content.</p>
<p>Stay tuned!</p>New documentation web site.