Skip to content

feat: apply gradle, pods cache#3

Merged
l2hyunwoo merged 3 commits intomainfrom
feat/add-cache-ci
Oct 25, 2025
Merged

feat: apply gradle, pods cache#3
l2hyunwoo merged 3 commits intomainfrom
feat/add-cache-ci

Conversation

@l2hyunwoo
Copy link
Owner

No description provided.

@l2hyunwoo l2hyunwoo self-assigned this Oct 25, 2025
@l2hyunwoo l2hyunwoo force-pushed the feat/add-publish-workflow branch from 73507d9 to d8ded60 Compare October 25, 2025 11:34
Base automatically changed from feat/add-publish-workflow to main October 25, 2025 11:47
@l2hyunwoo l2hyunwoo merged commit 744932c into main Oct 25, 2025
5 checks passed
@l2hyunwoo l2hyunwoo deleted the feat/add-cache-ci branch October 25, 2025 11:59
@l2hyunwoo l2hyunwoo restored the feat/add-cache-ci branch October 25, 2025 12:19
l2hyunwoo added a commit that referenced this pull request Dec 1, 2025
Address PR review comment #3: The comment "Found IPv4, return immediately"
was misleading since the code doesn't return - it stores the address and
continues iterating. Changed to "Found IPv4, store it" to match the
actual behavior and maintain consistency with queryIpAddressInternal().
l2hyunwoo added a commit that referenced this pull request Dec 1, 2025
* fix(ios): prioritize IPv4 over IPv6 in getIpAddress()

* fix(ios): add nil guard for interface in getIpAddress()

Address PR review comment #5: The force unwrap of interface?.ifa_name
could crash if interface is nil. Use guard statement to safely unwrap
the interface before accessing its properties.

* fix(ios): add nil guard for ifa_addr to prevent crash

Address PR review comments #1 and #4: ifa_addr can be nil if the
interface has no address assigned. According to Apple Developer Forums
and the getifaddrs man page, this is a valid scenario that must be
handled. Add guard statement to safely check ifa_addr before accessing
its properties in both getIpAddress() and queryIpAddressInternal().

* fix(ios): correct misleading comment in getIpAddress()

Address PR review comment #3: The comment "Found IPv4, return immediately"
was misleading since the code doesn't return - it stores the address and
continues iterating. Changed to "Found IPv4, store it" to match the
actual behavior and maintain consistency with queryIpAddressInternal().

* fix(ios): return 'unknown' instead of empty string for IP address

Address PR review comment #2: The API contract in TypeScript documentation
(src/DeviceInfo.nitro.ts:954) specifies "@returns IP address string or
'unknown'". Changed return values from "" to "unknown" in both
getIpAddress() and queryIpAddressInternal() to maintain backward
compatibility and API consistency.
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.

1 participant