Case Study
Product Engineering
Web App Development

Achieved 2x Surge in User Engagement by Building Android and iOS Mobile SDKs for an AI-empowered Loyalty Management Platform

About This Project

Our customer is an enterprise-grade SaaS technology provider diversified product suite and has built a presence across the United States, India, the Middle East, and Southeast Asia. They approached Velotio with a vision to develop a mobile SDK for Android and iOS for their AI-enabled loyalty management platform. The idea was to provide businesses with powerful tools to boost user engagement, enhance communication, and drive user action. With our holistic, user-focused, and technically advanced approach, we built an SDK in a mere span of 3 months. The SDK proved to be more than just another tool; it emerged as a finely calibrated solution that not only aligned with the client's exact requirements but also met the performance expectations of end-users.


Product Engineering
Web App Development


About the Client

Established a decade ago, our client specializes in loyalty platforms and solutions, offering a holistic insight into consumer behaviors and integrating multi-channel strategies that ensure a seamless, tailored, and consistent customer experience.

Spanning regions including the US, India, the Middle East, and Southeast Asia, they drive a diverse range of loyalty solutions in over 35 countries, collaborating with over 300 brands in sectors like clothing, footwear, retail, corporate groups, manufacturing, electronics, health and wellness, upscale dining and fast food, luxury items, entertainment, energy, travel, and hospitality.

Boasting a vast network of over 900 million consumers and processing 2 billion transactions, they have successfully secured a Series D investment of US$ 50M.

Understanding the Challenge

Our client has an AI-driven loyalty and engagement platform encompassing an impressive array of over 100 distinct Loyalty Programs. Their core mission is to develop profound and financially rewarding customer relationships by utilizing insights and tailored experiences.

We understood the platform was utilizing specific 3rd party tools to enable some captivating functionalities. Our customer wanted to replace these tools with an SDK that will be built entirely in-house and help businesses amplify user engagement and boost communication capabilities. 

In response to this, the development of a mobile SDK for Android and iOS became paramount. All this was to be achieved while ensuring seamless performance and integration across Android and iOS platforms. This strategic move aimed to achieve business objectives while delivering a stellar consumer experience.

Our customer was looking to develop a mobile SDK for Android (using Kotlin) and iOS (using Swift) with the below functionalities - 

  1. Enhanced Analytics - There was a need to capture comprehensive user engagement metrics to track the behavior and interactions within the app. This could furnish valuable insights regarding the most frequented sections of the app, the duration of user sessions, and the identification of any user experience bottlenecks.
  1. Push Notification - The SDK should deliver real-time, personalized push notifications to users, leveraging insights from their behavior, preferences, and segment. This functionality was much needed as it would be pivotal in maintaining user engagement, providing timely information, and rekindling user interest in the app.
  1. Push Amplification - Recognizing the common issue of undelivered push notifications, a push amplification feature, became imperative. This feature would help with higher delivery and open rates, thereby enhancing the chances of user re-engagement.
  1. Notification Center - The SDK needed a centralized hub nestled within the app where users could peruse their notification history. This would afford users control and clarity and ensure no crucial messages were missed.
  1. In-App Messaging - With the In-App messaging feature, our customer aimed to facilitate the display of tailor-made messages to users while they actively navigated the app. These messages could encompass promotional content, announcements of new features, or requests for feedback—all finely tuned to the user's journey and behavior.

In addition to the above features, there were three critical challenges that our team had to overcome

  1. Minimal SDK footprint - We had to build a feature-rich SDK while ensuring it remains lightweight.
  2. Compact CPU Usage - Considering the complex functionalities, the SDK demanded an efficient utilization of CPU resources.
  3. Local Storage Maintenance - Throughout the project, we had to ensure that the SDK efficiently uses the local storage.

“Velotio empowered our loyalty management platform by integrating a mobile SDK for Android and iOS. The development and integration were executed with detailed attention to performance and seamless operation. We really liked their systematic approach and the feedback-driven process.”

Product Lead, Leading SaaS Technology Provider

How We Made It Happen

Our customer sought a partner with profound technical understanding, a history of fruitful partnerships, and an unwavering commitment to customer-centricity. Our proven proficiency in mobile application development, established track record of delivering top-tier, performance-driven solutions, and our understanding of Android (Kotlin) and iOS (Swift) platforms made us a natural choice for this ambitious project.

With a team consisting of a Project Manager, Android Architect, iOS Architect, Senior Android Developer, and Senior iOS developer, we kicked off the development of the SDK in August 2022.

The project was executed in three phases, starting with Requirement Analysis, then Building Proof of Concept, and moving to Product Development. Our team followed a systematic process to develop the SDK, targeting one feature at a time while maintaining a feedback-driven approach with regular client consultations to ensure swift addressing of any iterations or enhancements.

Phase 1 - Requirement Analysis

We initiated our collaboration with extensive consultations that helped us gain a clear understanding of the following aspects - 

  • Customer objectives for building the SDK
  • Envisioned features and functionalities for the SDK

We also researched other SaaS players with loyalty management platforms similar to our customer.

Phase 2 - Proof of Concept

  • Building Platform-Specific Design for Android and iOS - We had to develop a mobile SDK for Android and iOS. Hence, our team created separate yet cohesive design plans for Android using Kotlin and iOS using Swift. During the POC stage, we had to consider the nuances and the best practices for each operating system.
  • Prototyping - Before the development phase, we meticulously designed prototypes. These prototypes served a dual purpose: they visually represented the SDK's potential functionalities and capabilities and established a platform for early feedback. This ensured that our development trajectory was consistently aligned with the client's expectations and objectives, enabling a smoother development process.

Phase 3 - Product Development

Following the successful Proof of Concept (POC) phase, we embarked on the product development journey, dividing it into several phases. Our strategy focused on addressing one specific feature at a time, allowing us to maintain a high level of precision and concentration throughout the development process. 

With a disciplined approach to issuing regular product releases, we ensured a minimum unit test coverage of 70% at all stages of development. This helped the product maintain its integrity and quality as it evolved.

  • Focused SDK Development
    Our dedicated teams of Kotlin and Swift specialists engaged in an intricate process to meticulously craft a suite of features, which included Event tracking and analytics, Push Notification, Push Amplification, Notification Center, and In-App Messaging. Throughout this development phase, we emphasized achieving optimal memory usage, minimizing battery consumption, and maintaining a compact SDK footprint. We ensured the integration of this SDK would not burden the host apps with unnecessary resource demands and keep the applications lightweight and highly efficient, even after integration with our SDK. 
  • Implementation of Push Amplification
    While Firebase served as our initial push notification system, more was needed to achieve optimal delivery rates on Chinese OEM platforms. To address this, we leveraged MI Push Notification and implemented push amplification, significantly boosting our overall push notification delivery rates.
  • Integration and Thorough Testing
    The SDK underwent an extensive testing regimen after the development phase, achieving an impressive 70% test coverage. This comprehensive testing approach meant that nearly every scenario was rigorously evaluated, ultimately guaranteeing the reliability and robustness of the SDK. Additionally, we examined the SDK's performance across different devices, platforms, and usage scenarios. The high test coverage instilled confidence in the SDK's stability and ensured the highest reliability when integrated with applications.
  • Documentation and Training  
    We furnished an exhaustive set of documentation that offers a deep dive into the SDK's functionalities, best practices, and integration techniques. These comprehensive resources served as a valuable guide, empowering users with the knowledge and insights to make the most of the SDK. Additionally, we conducted training sessions to supplement the documentation, allowing our customer’s teams to gain hands-on experience. 
  • Deployment and Post-launch Support
    Post the deployment of the SDK, we ensured swift and effective resolutions to any issues that arose. We also helped prevent disruptions and ensured that the SDK continued to perform optimally.

Unraveling the critical aspects of the project

  • Minimal SDK Footprint
    We developed a feature-rich SDK while keeping its footprint minimal. This ensured that the SDK integrates seamlessly with applications without adding unnecessary bulk. We followed a nuanced approach to achieve the balance between functionality and size.
  • Compact CPU Usage
    Efficient utilization of CPU resources was another critical concern. Given that the SDK incorporated features like app analytics and in-app messages, there was a legitimate worry that it could overtax the CPU, mainly due to ongoing processes like local storage management and server reporting. However, our team skillfully engineered the SDK to optimize CPU and device memory usage, thus averting constant CPU strain.
  • Local Storage Maintenance
    We had to design the SDK efficiently, emphasizing its use of local storage. This focus included caching push notification messages for the notification center, storing in-app messages, and temporarily housing app analytics before their transmission to servers. Achieving these specifications presented a distinct array of challenges.

We started the project in August 2022, and the SDK was launched in November 2022.

Tech Stacks used to build the SDK

We carefully chose the tech stack for this project to ensure robustness, scalability, and seamless performance -

1. Mobile Development -

  • Android - Kotlin
  • iOS - Swift

2. Database -

  • Android - RoomDB
  • Swift - Core Data

3. Push Notification Service -

  • Android - Firebase Cloud Messaging
  • iOS - Apple Push Notification Service

4. Testing and Quality Assurance -

  • Android - Mockito
  • iOS - XCtest

5. Version Control -

  • GitHub

How Velotio Made a Difference

Successfully developed a mobile SDK for Android and iOS in ‌ 90 days.

2x surge in user engagement with enhanced communication and increased user action.

Enhanced the platform with analytical and customer-centric features, facilitating the onboarding of five customers.

With Velotio, achieve breakthroughs in your product development journey.

Over 90 global customers, including NASDAQ-listed enterprises, unicorn startups, and cutting-edge product companies have trusted us for our technology expertise to deliver delightful digital products.

Talk to us

Work with modern and scalable technologies

We leverage emerging technologies to build products that are designed for scalability and better usability.

Rated 4.6/5 on Clutch

325+ highly skilled engineers

With us as your tech partners, you get access to a pool of digital strategists, engineers, architects, project managers, UI/UX designers, Cloud & DevOps experts, product analysts and QA managers.

At Velotio, we hold ourselves to sky-high standards of excellence and expect the same from our customers.