> Toden documentation. For the full index fetch /llms.txt. Every page is available as Markdown by appending .md to its URL. Every endpoint is under /api/v1. Identity verification and Risk Intelligence are separate contracts there with different error shapes; /api/kyc and /api/identity are older prefixes that still answer the same. Never invent an endpoint, field or enum value: read the API reference page for the operation first.

## New SDK packages: @toden/react 4.1.0, @toden/react-native 4.0.0 and toden_flutter 4.0.0

The web, React Native and Flutter SDKs are now published under the Toden name. The API is unchanged, so upgrading means swapping the package and changing your imports.

### Added

* **`@toden/react` 4.1.0** on npm: `npm install @toden/react`, with styles from `@toden/react/styles.css`. The entry points are `Verification`, `useVerification` and `VerificationError`. See the [Web SDK](/integrate/sdks/react) guide.
* **`@toden/react-native` 4.0.0** on npm, the first release under this name. See the [React Native SDK](/integrate/sdks/react-native) guide.
* **`toden_flutter` 4.0.0** on pub.dev, the first release under this name. See the [Flutter SDK](/integrate/sdks/flutter) guide.
* **A redesigned document camera.** One top row holds back, the document and the side; an instruction shows what the camera needs; Upload, the shutter and Light sit along the bottom.
* **Cut-off documents.** When the capture check finds that a document runs off the photo, the person is asked to retake it, as they already are for the face and barcode checks.
* **The cropper** gains Rotate, which turns the photo a quarter at a time, and an upright box for a NIN slip. Its button reads "Use photo".
* **"Take a photo" opens the SDK's own camera** for proof of address, supporting documents and the entrance photo, on desktop as well as phones.
* **Country and ID on one step.** On the web, the person picks the country and the ID on the same screen. On React Native, the ID step and the country sheet now match the web.

### Changed

* **Each environment has its own host.** `pk_test_` keys go to `https://sandbox-api.toden.co` and `pk_live_` keys to `https://api.toden.co`. If you allowlist the SDKs' traffic, allow both.
* **Android ML Kit flag.** Apps that bundle the ML Kit models set `todenBundledMlKit` (React Native: the root `build.gradle`; Flutter: `android/gradle.properties`). The earlier `myazaKycBundledMlKit` still works when the new one is not set.

### What you need to do

Nothing breaks if you stay where you are, but the earlier packages receive no further releases.

1. Web: remove `@myazahq/kyc-sdk-react`, install `@toden/react`, and change your imports to `@toden/react` and `@toden/react/styles.css`.
2. React Native: remove `@myazahq/kyc-sdk-react-native`, install `@toden/react-native`, change your imports and the `app.json` plugin entry, then **rebuild the app** (`npx expo prebuild` or `pod install`), because native code changed in 4.0.0.
3. Flutter: replace `myaza_kyc_sdk_flutter` with `toden_flutter: ^4.0.0`, change your imports to `package:toden_flutter/toden_flutter.dart`, then **rebuild the app**, because native code changed in 4.0.0. If your `AndroidManifest.xml` declares the presence foreground service, change it to `co.toden.flutter.PresenceForegroundService`. See [Upgrading from the earlier package](/integrate/sdks/flutter#upgrading-from-the-earlier-package).
4. The earlier names (`MyazaKYC`, `useMyazaKYC`, `KYCError` and the rest) still work as deprecated aliases, so no other code change is needed.