Skip to content

refactor: consistent Nitro* HybridObject implementation names#147

Merged
riteshshukla04 merged 2 commits into
mainfrom
refactor/hybrid-object-naming
Jul 17, 2026
Merged

refactor: consistent Nitro* HybridObject implementation names#147
riteshshukla04 merged 2 commits into
mainfrom
refactor/hybrid-object-naming

Conversation

@chrispader

@chrispader chrispader commented Jul 17, 2026

Copy link
Copy Markdown
Member

Summary

  • Align all HybridObject implementation class/file names to a consistent Nitro* prefix on iOS and Android (no Hybrid prefix).
  • Update nitro.json autolinking and regenerate Nitrogen constructors.
  • Generated Hybrid*Spec types are unchanged (Nitrogen owns those).

Implementation names

HybridObject (JS) Implementation
NitroFetch NitroFetch
NitroFetchClient NitroFetchClient
NativeStorage NitroNativeStorage
NitroCronet NitroCronet
UrlRequest / UrlRequestBuilder NitroUrlRequest / NitroUrlRequestBuilder

Test plan

  • Confirm example app still links (pod install / Gradle sync)
  • Smoke-test buffered fetch(...) on iOS and Android
  • Smoke-test fetch(url, { stream: true }) on iOS and Android
  • Confirm NativeStorage / token refresh still works (JS HybridObject name unchanged)

@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-native-nitro-fetch Ready Ready Preview, Comment Jul 17, 2026 6:18pm

Request Review

@cursor

cursor Bot commented Jul 17, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@chrispader chrispader changed the title refactor: prefix HybridObject implementations with Hybrid refactor: consistent Nitro* HybridObject implementation names Jul 17, 2026
@chrispader
chrispader force-pushed the refactor/hybrid-object-naming branch from c18aac7 to 73a79c7 Compare July 17, 2026 08:30
@chrispader
chrispader force-pushed the refactor/hybrid-object-naming branch from 73a79c7 to a888ddb Compare July 17, 2026 08:37
@chrispader
chrispader force-pushed the refactor/hybrid-object-naming branch from a888ddb to 11fe757 Compare July 17, 2026 09:58
@riteshshukla04

Copy link
Copy Markdown
Collaborator

Conflicts :( . I will fix and merge

@riteshshukla04

Copy link
Copy Markdown
Collaborator

Thanks :)

@riteshshukla04
riteshshukla04 merged commit c7f8b59 into main Jul 17, 2026
9 checks passed
@riteshshukla04
riteshshukla04 deleted the refactor/hybrid-object-naming branch July 17, 2026 18:42
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