Best Practices in Mobile SDK Development - by Robosoft Technologies - Medium
Best Practices in Mobile SDK Development - by Robosoft Technologies - Medium
Best Practices in Mobile SDK Development - by Robosoft Technologies - Medium
0)$&'123*&/*)$'/,'4"#/-)
567'8)9)-":4),&
0&-&+&1/$2)345&'&67)+ 8)9$:#;$:<=> · "$?75$*)@A
B?@6)$C7@D
Why
The first question you have to ask yourself is why you want to
build an SDK:
https://robosoft.medium.com/best-practices-in-mobile-sdk-development-cb6316a14406 Page 2 of 13
Best Practices in mobile SDK development | by Robosoft Technologies | Medium 2/9/21, 4:41 pm
What
Once you have decided that you will be building an SDK, you
have to identify what are the features that you are going to
incorporate in the SDK.
How
This is the phase where you decide how you are going to
develop your mobile SDK. A well designed SDK should aim to
https://robosoft.medium.com/best-practices-in-mobile-sdk-development-cb6316a14406 Page 3 of 13
Best Practices in mobile SDK development | by Robosoft Technologies | Medium 2/9/21, 4:41 pm
Simplicity
https://robosoft.medium.com/best-practices-in-mobile-sdk-development-cb6316a14406 Page 4 of 13
Best Practices in mobile SDK development | by Robosoft Technologies | Medium 2/9/21, 4:41 pm
Security
Scalability
Compatibility
When you develop an SDK for the first time you will set a base
version of the OS that the SDK would support. Ensure that
future versions of the SDK also support the first version you
started with. Each client might have their own reasons to
support a particular OS. SDKs should be able to support the
clients. Do not remove support for the OSs that you have
https://robosoft.medium.com/best-practices-in-mobile-sdk-development-cb6316a14406 Page 6 of 13
Best Practices in mobile SDK development | by Robosoft Technologies | Medium 2/9/21, 4:41 pm
Coherence
Abstraction
Logging
User Interface
Although you can provide your own user interface for your
service, do provide enough support to customise the native UI
to the extent that it does not degrade or hide your brand.
Storage
If your SDK requires storage, make sure that you store your
https://robosoft.medium.com/best-practices-in-mobile-sdk-development-cb6316a14406 Page 8 of 13
Best Practices in mobile SDK development | by Robosoft Technologies | Medium 2/9/21, 4:41 pm
Resources
https://robosoft.medium.com/best-practices-in-mobile-sdk-development-cb6316a14406 Page 9 of 13
Best Practices in mobile SDK development | by Robosoft Technologies | Medium 2/9/21, 4:41 pm
https://robosoft.medium.com/best-practices-in-mobile-sdk-development-cb6316a14406 Page 10 of 13
Best Practices in mobile SDK development | by Robosoft Technologies | Medium 2/9/21, 4:41 pm
Try to avoid using other third party modules in your SDK as far
as possible. But if you really must use it, then, change the class
names and global variables to avoid clashes when the same
third-party modules are used by the main app.
Last but not the least; provide enough sample code to let the
https://robosoft.medium.com/best-practices-in-mobile-sdk-development-cb6316a14406 Page 11 of 13
Best Practices in mobile SDK development | by Robosoft Technologies | Medium 2/9/21, 4:41 pm
developers integrate the SDK easily into their apps. Most of the
times developers just copy and paste the sample code, and
change the keys and identifiers. Ensure that some unit testing is
also included in the sample code to enable the integrators to do
their own unit testing with their own parameters.
Packaging
How you package your SDK and publish to the world also has
an important bearing on the success of your SDK. So it’s
important to pay special attention to the packaging of your SDK
for distribution.
https://robosoft.medium.com/best-practices-in-mobile-sdk-development-cb6316a14406 Page 12 of 13
Best Practices in mobile SDK development | by Robosoft Technologies | Medium 2/9/21, 4:41 pm
https://robosoft.medium.com/best-practices-in-mobile-sdk-development-cb6316a14406 Page 13 of 13