Comments (6)
Hello @mszerling-ynd
Could you elaborate more on the repro steps?
Also could you share the verbose logs(documentation)?
from appcenter-sdk-android.
Hi,
as I already mentioned there are no reproduction steps we are aware of, the issue occurs randomly for a small subset of our customers on production. We only know about it because of crash reports.
Regarding enabling verbose logs that's not sth that we are willing to do for an app running on production.
I'm sorry I cannot provide more insights but I guess the stacktrace is pretty self explaining:
- Appcenter SDK calls an Android method (
android.net.ConnectivityManager.getNetworkInfo
) which internally crashes - as the result the app crashes
Obviously crashing system calls are problematic to deal with, on the other hand those calls are only used by Appcenter SDK, and if it wasn't integrated with the app at all there would be no crashes.
from appcenter-sdk-android.
@mszerling-ynd
I apologize for the misunderstanding with the reproduction of the error and with the situation with the logs. We are filed bug on our internal dashboard. Will back to you once get results.
from appcenter-sdk-android.
Hi @mszerling-ynd , this looks like a bug of a specific version of android on a specific device. The docs doesn't mention that the method can throw, so I don't feel it is a good idea to wrap the call in try-catch. I checked the source code of the ConnectivityManager.java
and related files, but couldn't find any place where it can throw an exception. Probably there is used some specific version of the service.
@mszerling-ynd , did you try to find anything similar on the internet? Having some references would help us to understand the problem better.
from appcenter-sdk-android.
Hi,
did you try to find anything similar on the internet? Having some references would help us to understand the problem better.
Unfortunately not. The affected device is a quite specific device (smart POS) not even a regular phone.
best
from appcenter-sdk-android.
I'm going to close this issue as fixed. Please let me know if the bug reappears.
from appcenter-sdk-android.
Related Issues (20)
- Support for multiple ABIs? HOT 1
- App is not automatically closing after the update. HOT 3
- DistributeListener interface methods are not called on React native Android. HOT 2
- Failed to install app update HOT 5
- Possibility of accessing release number and using it in app HOT 1
- Fail to install update after successful download HOT 50
- Add support for Android 11's ActivityManager.getHistoricalProcessExistReasons API HOT 3
- Google Play - Intent Redirection vulnerability HOT 3
- Distribute in-app update issue HOT 4
- Several ANRs when report HOT 4
- Update Android Gradle plugin to latest version and declare namespace HOT 6
- Ability to disable App Update notification HOT 1
- CheckForUpdate via Web API succeed but fail via SDK HOT 3
- No crash attachments and analytics events HOT 4
- Distribute crash when targetSDK is set to android 14 HOT 17
- App set as Home App not automatically launched after mandatory update HOT 1
- In-app updates fail on MIUI devices with optimizations enabled (AppCenter SDK 4.3.1+) HOT 2
- Exclude properties from DeviceInfo HOT 3
- get hostAddress on background HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appcenter-sdk-android.