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

apply DNS override hack for iOS as well #5093

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

siddarthkay
Copy link
Contributor

@siddarthkay siddarthkay commented Apr 25, 2024

We need to apply the DNS override hack for iOS as well.

This PR -> status-im/status-mobile#19798 in status-mobile fixes the DNS resolution issue for
iOS ARM Simulators and for Android x86 Emulators.
But we still need this change to ensure storenodes are found on real iOS devices and on Android arm Emulators.

@status-im-auto
Copy link
Member

status-im-auto commented Apr 25, 2024

Jenkins Builds

Click to see older builds (12)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 3deae11 #1 2024-04-25 12:20:52 ~4 min linux 📦zip
✔️ 3deae11 #1 2024-04-25 12:21:21 ~4 min ios 📦zip
✔️ 3deae11 #1 2024-04-25 12:23:19 ~6 min android 📦aar
✔️ 3deae11 #1 2024-04-25 12:58:41 ~42 min tests 📄log
✔️ 33897ed #2 2024-04-25 16:45:20 ~2 min linux 📦zip
✔️ 33897ed #2 2024-04-25 16:46:10 ~3 min ios 📦zip
✔️ 33897ed #2 2024-04-25 16:48:33 ~5 min android 📦aar
✖️ 33897ed #2 2024-04-25 17:17:43 ~34 min tests 📄log
✔️ 497e9f1 #3 2024-04-25 16:48:26 ~2 min linux 📦zip
✔️ 497e9f1 #3 2024-04-25 16:49:45 ~3 min ios 📦zip
✔️ 497e9f1 #3 2024-04-25 16:51:19 ~2 min android 📦aar
✔️ 497e9f1 #3 2024-04-25 17:59:58 ~42 min tests 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 1a431ea #4 2024-04-26 10:26:01 ~2 min android 📦aar
✔️ 1a431ea #4 2024-04-26 10:27:46 ~4 min linux 📦zip
✔️ 1a431ea #4 2024-04-26 10:28:20 ~4 min ios 📦zip
✔️ 1a431ea #4 2024-04-26 11:04:20 ~40 min tests 📄log
✔️ 9bb2be0 #5 2024-04-26 10:28:28 ~2 min android 📦aar
✔️ 9bb2be0 #5 2024-04-26 10:30:16 ~2 min linux 📦zip
✔️ 9bb2be0 #5 2024-04-26 10:32:07 ~3 min ios 📦zip
✔️ 9bb2be0 #5 2024-04-26 11:45:17 ~40 min tests 📄log

@siddarthkay
Copy link
Contributor Author

funny enough the DNS override is needed for Android and not for iOS 😿

On Android the community does not resolve but it does on iOS. Don't know why this discrimination
Screenshot 2024-04-25 at 3 14 08 PM

Copy link
Contributor

@igor-sirotin igor-sirotin left a comment

Choose a reason for hiding this comment

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

🚀

@siddarthkay siddarthkay force-pushed the select-default-dns-network branch 2 times, most recently from 33897ed to 497e9f1 Compare April 25, 2024 16:42
@siddarthkay siddarthkay changed the title remove DNS override hack apply DNS override hack for iOS as well Apr 26, 2024
We need to apply the DNS override hack for iOS as well.

This PR -> status-im/status-mobile#19798 in status-mobile fixes the DNS resolution issue for
iOS ARM Simulators and for Android x86 Emulators.
But we still need this change to ensure storenodes are found on real iOS devices and on Android arm Emulators.
@siddarthkay siddarthkay merged commit 1551c98 into develop Apr 26, 2024
7 checks passed
@siddarthkay siddarthkay deleted the select-default-dns-network branch April 26, 2024 12:14
siddarthkay added a commit to status-im/status-mobile that referenced this pull request Apr 26, 2024
fixes #19736

Corresponding go PR status-im/status-go#5093

This commit fixes DNS resolution inside status-go by forcing pure go resolver at build time.
Reference -> https://pkg.go.dev/net#hdr-Name_Resolution

Store nodes must be available on Android & iOS app.

- Android
- iOS

status: ready
siddarthkay added a commit to status-im/status-mobile that referenced this pull request Apr 26, 2024
status-im/status-go@90b18d4...b124e2b

fixes #19736

Corresponding go PR status-im/status-go#5093

This commit fixes DNS resolution inside status-go by forcing pure go resolver at build time.
Reference -> https://pkg.go.dev/net#hdr-Name_Resolution

Store nodes must be available on Android & iOS app.

- Android
- iOS

status: ready
siddarthkay added a commit to status-im/status-mobile that referenced this pull request Apr 26, 2024
status-im/status-go@90b18d4...b124e2b

fixes #19736

Corresponding go PR status-im/status-go#5093

This commit fixes DNS resolution inside status-go by forcing pure go resolver at build time.
Reference -> https://pkg.go.dev/net#hdr-Name_Resolution

Store nodes must be available on Android & iOS app.

- Android
- iOS

status: ready
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.

None yet

4 participants