Skip to content

Commit ed8524d

Browse files
Merge pull request #273415 from garchiro7/origin/size-native
update the sdk size options
2 parents c3dc895 + c4eac84 commit ed8524d

File tree

2 files changed

+27
-4
lines changed

2 files changed

+27
-4
lines changed

articles/communication-services/concepts/includes/best-practices-native.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Here are the minimum OS platform requirements to ensure optimal functionality of
4141

4242
## App request device permissions
4343

44-
To use the Calling Native SDKs for making or receiving calls, it's necessary to authorize each platform to access device resources. As a developer, you should prompt the user for access and ensure that it's enabled. The consumer authorizes these access rights, so verify that they have been granted permission previously.
44+
To use the Calling Native SDKs for making or receiving calls, it's necessary to authorize each platform to access device resources. As a developer, you should prompt the user for access and ensure that are enabled. The consumer authorizes these access rights, so verify that they have been granted permission previously.
4545

4646
### [iOS](#tab/ios)
4747

@@ -103,3 +103,14 @@ Make sure to dispose of the `VideoStreamRendererView` when the video is no longe
103103
## Camera or microphone being used by another process
104104

105105
It's important to note that on mobile devices if multiple processes try to access the camera or microphone at the same time, the first process to request access will take control of the device. As a result, the second process will immediately lose access to it.
106+
107+
## Optimize the APP size using UI Library
108+
109+
Optimizing the size of libraries in software development is crucial for several reasons, particularly as applications become increasingly complex, and resource-intensive.
110+
111+
Application Performance: Smaller libraries reduce the amount of code that must be loaded, parsed, and executed by an application. This can significantly enhance the startup time and overall performance of your application, especially on devices with limited resources.
112+
113+
Memory Usage: By minimizing library size, you can decrease the runtime memory footprint of an application. This is important for mobile devices, where memory is often constrained. Lower memory usage can lead to fewer system crashes and better multitasking performance.
114+
115+
- [UI Library for iOS](https://github.com/Azure/communication-ui-library-ios/wiki/Calling-Composite-Demo-Application-Size)
116+
- [UI Library for Android](https://github.com/Azure/communication-ui-library-android/wiki/Calling-Composite-Demo-Application-Size)

articles/communication-services/concepts/sdk-options.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: SDKs and REST APIs for Azure Communication Services
2+
title: SDK's and REST APIs for Azure Communication Services
33
titleSuffix: An Azure Communication Services concept document
4-
description: Learn more about Azure Communication Services SDKs and REST APIs.
4+
description: Learn more about Azure Communication Services SDK's and REST APIs.
55
author: tophpalmer
66
manager: chpalm
77
services: azure-communication-services
@@ -100,6 +100,18 @@ All other Communication Services packages target .NET Standard 2.0, which suppor
100100
- Xamarin iOS 10.14
101101
- Xamarin Mac 3.8
102102

103+
#### SDK package size
104+
105+
| SDK | Compressed size (MB) | Uncompressed size (MB) |
106+
|-----------------------| ------------------------------|-------------------------------|
107+
|iOS SDK | ARM64 - 17.1 MB | ARM64 - 61.1 MB |
108+
|Android SDK | x86 – 13.3 MB | x86 – 33.75 MB |
109+
| | x86_64 – 13.3 MB | x86_64 – 35.75 MB |
110+
| | ARM64-v8a – 13.1 MB | ARM64-v8a – 37.02 MB |
111+
| | armeabi-v7a – 11.4 MB | armeabi-v7a – 23.97 MB |
112+
113+
If you want to improve your app, we suggest read [the Best Practices article](./best-practices.md). It provides recommendations and a checklist to review before releasing your app.
114+
103115
## REST APIs
104116

105117
Communication Services APIs are documented alongside other [Azure REST APIs](/rest/api/azure/). This documentation tells you how to structure your HTTP messages and offers guidance for using [Postman](../tutorials/postman-tutorial.md). REST interface documentation is also published in Swagger format on [GitHub](https://github.com/Azure/azure-rest-api-specs). You can find throttling limits for individual APIs on [service limits page](./service-limits.md).
@@ -122,7 +134,7 @@ You'll get three years warning before these APIs stop working and are forced to
122134

123135
**You've integrated the v2.02 version of the Calling SDK into your application. Azure Communication releases v2.05.**
124136

125-
You may be required to update to the v2.05 version of the Calling SDK within 12 months of the release of v2.05. The update should be a simple replacement of the artifact without requiring a code change because v2.05 is in the v2 major version and has no breaking changes.
137+
You may be required to update to the v2.05 version of the Calling SDK within 12 months of the release of v2.05. The update should be a replacement of the artifact without requiring a code change because v2.05 is in the v2 major version and has no breaking changes.
126138

127139
## Next steps
128140

0 commit comments

Comments
 (0)