Android ResId
7.24K subscribers
29 photos
161 links
The most important news and resources for Android developers

Want to become channel topic creator?
https://forms.gle/pgxCXoPMuHVFGjvNA
Download Telegram
End-to-end encryption for push messaging, simplified:

Developers already use HTTPS to communicate with Firebase Cloud Messaging (FCM). The channel between FCM server endpoint and the device is encrypted with SSL over TCP. However, messages are not encrypted end-to-end (E2E) between the developer server and the user device unless developers take special measures. To this end, we advise developers to use keys generated on the user device to encrypt push messages end-to-end. But implementing such E2E encryption has historically required significant technical knowledge and effort. That is why we are excited to announce the Capillary open source library which greatly simplifies the implementation of E2E-encryption for push messages between developer servers and users' Android devices.

https://android-developers.googleblog.com/2018/06/project-capillary-end-to-end-encryption.html?m=1

https://github.com/google/capillary

#Google #FCM
https://soundcloud.com/user-38099918/dependency-injection-with-koin

Talking Kotlin podcast episode:
"Dependency Injection with Koin"

We chat with Arnaud about Koin, a new dependency injection framework written from the ground up in Kotlin. We discuss the why, the how and whether in this day and age it makes sense to even have dependency injections frameworks.

http://talkingkotlin.com/dependency-injection-with-koin/

#DI #Dependencyinjection #Kotlin #Talkingkotlin
Starting August 1, 2019, your apps published on Google Play will need to support 64-bit architectures.

https://youtu.be/E96vmWkUdgA

Docs:
https://developer.android.com/distribute/best-practices/develop/64-bit

🙄 How to test your app?

:: Command Line
# A successful install:
> adb install --abi arm64-v8a YOUR_APK_FILE.apk Success

# If your APK does not have the 64-bit libraries:
> adb install --abi arm64-v8a YOUR_APK_FILE.apk adb: failed to install YOUR_APK_FILE.apk
: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]

# If your device does not support 64-bit, an emulator, for example:
> adb install --abi arm64-v8a YOUR_APK_FILE.apk
ABI arm64-v8a not supported on this device

#GooglePlay #arm
Testing can seem to be a tax on development time.
However, as many seasoned developers have seen, proper automated testing can increase development velocity as the code base becomes bigger and more complex.
Continuous testing should give you confidence that the change you make won’t break your app.

https://android-developers.googleblog.com/2019/10/continuous-testing-with-new-android.html

#testing #Docker
Forwarded from Pas de Code
Looks like something dedicated to initialization of different components / libraries is coming to AndroidX.

#androidx #library
Google  today announced the first developer preview of Android 11, which is now available as system images for Google’s own Pixel devices, starting with the Pixel  2.

https://www.reddit.com/r/android_beta/comments/f6ep15/android_11_developer_preview_1_now_available/

#Android11
Forwarded from Android Broadcast EN
#DependencyInjection

A Dependency Injection Showdown

Choosing a dependency framework for your Android app is, a big decision, it’s not something that you can easily replace later on. Comparison of popular JVM DI: Dagger 2, Koin, Toothpick, Kodein.
Forwarded from Android Broadcast EN
#AndroidStudio

Android Studio 3.6 released

A new stable version of the main Android developer tool has been released and it has brought the following improvements:
👉 SplitView instead of Layout Preview (it got worse for me)
👉 ViewBinding
👉 Memory leak detection in the Memory Profiler (why? Is there LeakCanary)
👉 Color Picker
👉 Idea 2019.2
👉 Improvements to “Apply Changes”
👉 Android Gradle Plugin integration with Maven Publishing Plugin
👉 R class now immediately generates bytecode instead of Java code, this speeds up kapt and incremental build
👉 New utility for packing APK. Used by default for debug builds

There are many changes and all of them cannot be listed, but you can familiarize yourself with them in the full review
Kakao 2.3.0 released

Kakao is a PageObject pattern Kotlin DSL for Android UI testing built on the base of Espresso

What's new in the latest version:
👉 ViewPager2 support added with KViewPager2
👉 ChipGroup support added with KChipGroup
👉 Spinner support added with KSpinner
👉 Tint support added to KImageView
👉 Dependencies' versions upgrade
👉 Smaller fixes/improvements

Check out the library at GitHub and get familiar with the full chages here

To see some examples of what you can do with this library, you can read this Medium blog post

#Kakao #Testing