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

Fix iOS token refresh #252

Closed
wants to merge 5 commits into from
Closed

Fix iOS token refresh #252

wants to merge 5 commits into from

Conversation

manuelsc
Copy link
Collaborator

No description provided.

@@ -75,6 +75,10 @@ export class ApiService extends CacheModule {
this.lastCacheInvalidate = Date.now()
//this.registerLogMiddleware()
this.updateNetworkConfig()
this.storage.getBooleanSetting('force_native_requests', false).then((result) => {
this.forceNativeAll = result
console.log('forcing native requests')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This logs "forcing native requests" even when result is false.

@@ -15,6 +15,7 @@ export class DevPage extends Tab3Page implements OnInit {
packageOverride = 'default'
firebaseToken = ''
notificationConsent = false
forceNativeRequests = false
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: Where exactly is that used?

@manuelsc manuelsc closed this Oct 19, 2023
@manuelsc manuelsc deleted the ios/tokenfix branch October 25, 2023 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants