Closed amandshahu closed 4 years ago
Thanks for filing this, @amandshahu. The following line must be using a Regex feature that is not available in older versions of Android: https://github.com/Azure/azure-notificationhubs-android/blob/da3d304d72bfd5b357e47a481ae274aeb4421f98/notification-hubs-sdk/src/main/java/com/microsoft/windowsazure/messaging/notificationhubs/ConnectionString.java#L7
We'll triage and release a fix for this.
Without looking into it too deeply, my guess is that named capture groups are not supported in earlier versions of Android.
Quick update: I was able to repro this locally and am working on a fix.
I've confirmed that with the patch above, this issue no longer repros.
Fix is published in v1.1.2, please try it out. :)
Thank you @marstr, It is working now.
I am using notification hub SDK version 1.1.1, but the app is crashing on NotificationHub.start method, this issue reproduced on Android 4.4 and 5.1. It is working fine above Android 5.1
To Reproduce Steps to reproduce the behavior: It will easily reproducible on android 4.4 and android 5.1
Code Snippet
Expected behavior The app should work on all version of android
Setup (please complete the following information):
Additional context Add any other context about the problem here.
Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report