triniwiz / triniwiz/nativescript-plugins

Blank authentication page / root view controller issue

Open
#79 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
87
Forks
57
Avg merge
1h 36m
Merged PRs (30d)
4

Description

When confirming a setup intent, the safari view controller does not load the page.

Changing line 311 of index.ios.ts to the following fixes the issue:

const rootVC = this._rootViewController;

Why is Frame.topmost().currentPage.ios causing an issue for us? Are you aware of any known problems?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in index.ios.ts around line 311 and trace how Frame.topmost().currentPage.ios supplies the root view controller when confirming a setup intent. Compare that value with this._rootViewController and verify the Safari view controller loads the expected page; done means the authentication flow no longer shows a blank page.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, typescript
Domain
authentication, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.