Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQ] Add AndroidThreeTen.init(this) to documentation #1402

Open
2 tasks done
JasonWeinzierl opened this issue Jul 6, 2023 · 0 comments
Open
2 tasks done
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@JasonWeinzierl
Copy link

JasonWeinzierl commented Jul 6, 2023

Is your feature request related to a problem? Please describe.

After some debugging of crashes while using the azure-communication-calling library,
it appears that we need to add AndroidThreeTen.init(this); to our MainApplication.onCreate.

Should this be documented in Microsoft guides for calling and/or other ACS libraries? Is com.jakewharton.threetenabp:threetenabp an intentional dependency that users need to be made aware of?

Describe the solution you'd like

Clear documentation on steps when installing ACS libraries.

Describe alternatives you've considered

Trial and error

Additional context

org.threeten.bp.zone.ZoneRulesException: No time-zone data files registered
	at org.threeten.bp.zone.ZoneRulesProvider.getProvider(ZoneRulesProvider.java:165)
	at org.threeten.bp.zone.ZoneRulesProvider.getRules(ZoneRulesProvider.java:122)
	at org.threeten.bp.ZoneRegion.ofId(ZoneRegion.java:143)
	at org.threeten.bp.ZoneId.of(ZoneId.java:358)
	at org.threeten.bp.ZoneId.of(ZoneId.java:286)
	at org.threeten.bp.ZoneId.systemDefault(ZoneId.java:245)
	at org.threeten.bp.Clock.systemDefaultZone(Clock.java:137)
	at org.threeten.bp.OffsetDateTime.now(OffsetDateTime.java:175)
	at com.azure.android.communication.common.CommunicationAccessToken.isExpired(CommunicationAccessToken.java:42)
	at com.azure.android.communication.common.AutoRefreshUserCredential.scheduleTokenFutureUpdate(AutoRefreshUserCredential.java:115)
	at com.azure.android.communication.common.AutoRefreshUserCredential.<init>(AutoRefreshUserCredential.java:39)
	at com.azure.android.communication.common.CommunicationTokenCredential.<init>(CommunicationTokenCredential.java:49)

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

  • Description Added
  • Expected solution specified
@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

1 participant