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

[TIMOB-23888] iOS: Use asynchronous openURL API on iOS 10+ #9759

Merged
merged 9 commits into from May 15, 2018

Conversation

hansemannn
Copy link
Collaborator

NSMutableDictionary *options = [NSMutableDictionary dictionary];

if ([args count] > 0) {
if ([[args objectAtIndex:1] isKindOfClass:[NSDictionary class]]) {
Copy link
Contributor

Choose a reason for hiding this comment

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

In case of count = 1, [args objectAtIndex:1] will fail. Due to this first test case is failing.

* UIApplicationOpenURLOptionsSourceApplicationKey
* UIApplicationOpenURLOptionsAnnotationKey
* UIApplicationOpenURLOptionsOpenInPlaceKey
* UIApplicationOpenURLOptionUniversalLinksOnly
Copy link
Contributor

Choose a reason for hiding this comment

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

We should give the detail about the values of these string-keys. e.g For UIApplicationOpenURLOptionUniversalLinksOnly value should be Bool or give an apple link here.
And normally we map apple keys with Titanium keys. Isn't it good to use titanium keys?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The reason I've not made this a constant is because we cannot use constants as dictionary-keys, so the dev would need to declare a variable first and then use that one as a key. I'll add more infos about the constants though!

Copy link
Contributor

@vijaysingh-axway vijaysingh-axway left a comment

Choose a reason for hiding this comment

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

CR passed.

@hansemannn hansemannn modified the milestones: 7.1.0, 7.2.0 Feb 16, 2018
@hansemannn hansemannn removed the ios 10 label May 3, 2018
@build
Copy link
Contributor

build commented May 15, 2018

Messages
📖

💾 Here's the generated SDK zipfile.

Generated by 🚫 dangerJS

@hansemannn hansemannn merged commit 81a0d3e into tidev:master May 15, 2018
@sgtcoolguy sgtcoolguy modified the milestones: 7.2.0, 7.3.0 May 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants