Layer recently announced that they are shutting down on 30th October 2019. It’s tough times for Layer’s customers who need to migrate from Layer to other services and re-invest the time and effort required for the setup. Add to that the fact that companies hardly have two months to make the switch and considering chat to be an integral part of user experience, any downtime can be detrimental.
We at Applozic understand the plight of development teams and have been working on making resources to help you migrate from Layer easily and fast. We are happy to announce that the migration resources are now ready and can vouch for a smooth migration without any disruption or loss in chat data.
A Brief Comparison:
Before you make the switch it’s important for you to understand the high-level differences between Layer and Applozic.
From the outset, both Layer and Applozic are end-to-end chat solutions for mobile and web that provides a backend infrastructure and customizable UI/UX elements. Both have multi-platform SDKs and APIs with all the essential features for the accelerated embedding of chat functionality.
The major differences lie in the feature set and underlying infrastructure as shown in the chart:
Steps to migrate from Layer to Applozic:
There are two scenarios that you would typically face here, one where all your app users are using the updated version of the app and second where users are on different versions.
Scenario 1: All users are on the updated version of the app
Step 1.1: Signup on Applozic:
It’s pretty straightforward. Just signup for Applozic on this URL: https://console.applozic.com/signup?product=applozic. This will take you to the dashboard, which will be the central control panel for your application
Step 1.2: Locate your APP_ID (Application ID)
The next step is locating your APP_ID. This is the unique identifier for your application and will be required for making all the required configurations.
To locate your APP_ID; follow the path here: Settings (Gear icon on the left-hand panel) → Install (Under Configuration). You can find the APP_ID on the screen, highlighted in blue as demonstrated in the image below.
Step 1.3: Export all data from Layer
Next, you need to export all your existing data from Layer. Steps to do this can be found in Layer’s documentation here: https://docs.layer.com/reference/server_api/data.out#data-export
Step 1.4: Importing all historic data to Applozic
This is the critical part and this is where we are there to help you out. This can be done programmatically which naturally would require a lot of back and forth and a considerable amount of time and effort. We, therefore, thought to handle this on your behalf.
All you need to do is send all the exported data from Step: 1.3 to firstname.lastname@example.org and we will import it to your Applozic application.
Note: Please mention the APP_ID from Step: 1.2 in the email so that we can link the data to your application.
Well, that’s basically all you need to do in order to migrate from Layer to Applozic if all your users are on the updated version of the app. However, if you have users on the older versions of your app, there are a few additional steps.
Scenario 2: Users on older versions of your app
In this case, we would recommend you to force update your app as this will basically mean all your users will be on the updated version and the above-mentioned steps will suffice. Also, considering the fact that Layer’s services will stop on 30th October 2019, you will have to anyways discontinue the app versions running on Layer’s APIs.
However, you might want to support the older versions of your app until then. This will basically mean you will have few users on the older application communicating to Layer while users on the new versions of the app will be using Applozic.
The following steps will have you covered for such a case. Basically, we will be using webhooks to create a bridge between Layer and Applozic:
Step 2.1: Create Users
This step is to make sure all your chat users are registered on Applozic. Typically there would be 3 sets of users:
A. Users registering on the new versions of your app, running on Applozic. You don’t have to worry about these set of users, as they will be automatically registered.
B. Users who are already registered in older versions of the app, running on Layer. We will register these users when you export data from Layer and send it to us, as per Step 1.3 of the preceding section.
C. Users who will be registering in the future on older versions of the app. For this, you need to use the Create User API to register all users automatically.
Step 2.2: Forward messages sent from Layer to Applozic (Sender is on old version and receiver is on the new version of the app)
Whenever a message is sent from older versions of the app (using Layer) you will get a callback of the event on your Layer webhook. Next, you need to forward this message to Applozic using the Message Send API. For authentication, you can use the Admin Header.
Step 2.3: Forward message received on Applozic to Layer (Receiver is on old version and sender is on the new version of the app)
Essentially this is similar to the step above, just with reversed roles. You need to configure webhooks on Applozic so that you can get all messages sent via Applozic on your webhook endpoint. You can then forward these messages to app users on older app versions, using Layer’s Message Send APIs.
This brings us to the end of the guide for a smooth migration from Layer to Applozic. We are overly committed to assisting you in the process and should you face difficulties Talk to Us here or drop us an email on email@example.com.
We’re thankful to our customers for putting their trust in us, as a reward for our endless customer obsession. At Applozic, we humbly welcome you and pledge to focus on sustainable growth and forever availability of our APIs.