# App

Inside your iOS and Android apps, native screens use the Genuin iOS, Android, React Native, or Flutter SDK. A screen built as a web page, such as an in-app article reader, runs the Web SDK in its web view.

![Diagram: setting up Onsite on App in 5 steps: Choose your integration method, Integrate the SDK, Sign members in, Pass context to placements, Add deep links and push.](https://cdn.sanity.io/images/lnrtvsvr/development/ae8bae51bab8abe74d63162b07689d60f0ec766b-320x180.svg)

## Product use cases in this environment

| Use case | Product | How it shows up here |
| --- | --- | --- |
| Feeds, carousels, and standard walls | Onsite | Native views render the carousels, full-screen feeds, and standard walls you configure once in your Business Account. |
| Placements with sections | Onsite | Native placement views render placements with sections, with contextual feeds from the context your app passes. |
| The Onsite placements, in a web view | Onsite | The Web SDK renders the Onsite placements today, so a hybrid screen or an in-app reader shows them in its web view. |
| Contextual Continuity | Onsite | Supported on Android and iOS, and through the native SDK on React Native and Flutter. |
| Member experience | Onsite | Members discover videos, join communities and groups, engage, post, and shop inside your app. |
| Search | Onsite | Members search posts, communities, groups, and people from a search screen in the full-screen experience. |
| Camera and video creation | Studio | Members and creators record and publish from the camera in the SDK. |
| In-feed ads and IAB units | Monetize | In-feed ads run in app embeds and placements, and IAB units render from a tag ID. |
| Your own tags, inside your app | Offsite | The IAB Standard Size Experience SDK shows your tags inside your own app. |
| Player customization | Control | Sizes, tile layouts, the profile menu, deep links, and onboarding prompts, on every SDK. |
| Partner content in your placements | Network | Content that partner brands share runs in your embeds and placements. |
| Chat in the Genuin player | Supervised Intelligence | Viewers ask about what they are watching, and get the answer in the same place. |

## Limitations

- Search ships in the UI module on Android and iOS, and has nothing to configure.
- The grid layout is available on Android only.
- Generative Contextual Continuity works with limitations in apps.
- Android needs 7.0 (API 24) or later. The iOS SDK runs on iOS 15 or later, in portrait, on iPhone.
- On Android, the SDK is laid out for phones in portrait, not for tablets or TV.
- Keep every Genuin module on the same version. Mixed versions fail at runtime, not at build time.
- The Android Camera module is 48 MB, because it bundles the video-processing toolchain. Add it only if members record in your app.
- A Genuin view needs a fixed height. On Android, a `GenuinEmbedView` with `wrap_content` height renders nothing.

## Set it up

1. **Choose your integration method.** Decide between the native SDKs, the wrappers, and a web view. Read: [Which Integration Method Should You Choose to Add Genuin to Your App?](https://begenuin.com/developers/developer-resources/sdk/which-integration-method-should-you-choose-to-add-genuin-to-your-app).
2. **Integrate the SDK.** Add the SDK for your platform and load a feed. Read: [Integrate the Genuin iOS SDK](https://begenuin.com/developers/developer-resources/sdk/developer/genuin-sdk/native-compatibility/ios/how-to-integrate-and-power-your-brand-community-in-ios-apps), [Integrate the Genuin Android SDK](https://begenuin.com/developers/developer-resources/sdk/how-to-integrate-and-power-your-brand-community-in-android-apps), [Integrate the Genuin SDK with React Native apps](https://begenuin.com/developers/developer-resources/sdk/how-do-you-integrate-the-genuin-react-native-sdk-into-your-application), [Integrate the Genuin SDK with Flutter apps](https://begenuin.com/developers/developer-resources/sdk/how-do-you-integrate-the-genuin-flutter-sdk-into-your-application).
3. **Sign members in.** Use the built-in sign-in, your SSO, or Auto Login with a token from your own session. Read: [Choose how members sign in to the Genuin SDK](https://begenuin.com/developers/developer-resources/overview/user-authentication-mechanisms-in-genuin-sdk), [How Auto Login works](https://begenuin.com/developers/developer-resources/overview/genuin-auto-login).
4. **Pass context to placements.** Send page, user, and location context so each placement picks what fits. Read: [Deliver contextual feeds with page, user, and location context](https://begenuin.com/developers/developer-resources/sdk/contextual-embeds-how-they-work-and-how-to-configure-them).
5. **Add deep links and push.** Open the right community, group, or video from a link or a notification. Read: [Handle Genuin deep links in your app](https://begenuin.com/developers/developer-resources/sdk/handle-genuin-deep-links-in-your-app), [Set up push notifications in the Genuin SDK](https://begenuin.com/developers/developer-resources/sdk/developer/genuin-sdk/creation-and-editing-tools/notification/push/how-do-push-notifications-work-with-the-genuin-sdk).

## Example

- **Business:** a recipe publisher with iOS and Android apps.
- **Screen:** each recipe screen, plus a Watch tab.
- **Setup:** Under **Grow** > **On Site** > **Placement**, a placement with a **Placement layout** of **Carousel** and **Environment** set to **Custom** > **App**. Under **Grow** > **On Site** > **Embed**, a Feed embed of the brand feed for the Watch tab. On Android, the recipe screen hosts a `GenuinPlacementView` with a fixed height and passes the recipe's name and main ingredients as `page_context`. The Watch tab hosts a `FeedEmbedFragment`. Members sign in through Auto Login, with a token your server issues for the app's signed-in user.
- **What viewers see:** a carousel of how-to videos under each recipe, and a full-screen swipe feed on the Watch tab, where members comment and follow.
- **What you measure:** the placement's analytics on the **Placement** page, the **Report** page, and the SDK events your app forwards to its own analytics.

## Best practices

- Initialize the SDK once, in your `Application` subclass on Android, so it's ready before any Genuin view is created.
- Pause feeds when a screen leaves the foreground and release them when it's destroyed. Otherwise playback continues in the background.
- Use a placement for screens whose content changes, such as recipes, and an embed for a fixed feed, such as a Watch tab. One placement then serves every recipe from the context you pass.
- Pass `page_context` from what the screen shows, such as the recipe's name, so the placement ranks videos about it.

## Developer resources

- [Integrate the Genuin iOS SDK](https://begenuin.com/developers/developer-resources/sdk/developer/genuin-sdk/native-compatibility/ios/how-to-integrate-and-power-your-brand-community-in-ios-apps)
- [Integrate the Genuin Android SDK](https://begenuin.com/developers/developer-resources/sdk/how-to-integrate-and-power-your-brand-community-in-android-apps)
- [Integrate the Genuin SDK with React Native apps](https://begenuin.com/developers/developer-resources/sdk/how-do-you-integrate-the-genuin-react-native-sdk-into-your-application)
- [Integrate the Genuin SDK with Flutter apps](https://begenuin.com/developers/developer-resources/sdk/how-do-you-integrate-the-genuin-flutter-sdk-into-your-application)
- [Pause and resume Genuin feeds with your app lifecycle](https://begenuin.com/developers/developer-resources/sdk/pause-and-resume-genuin-feeds-with-your-app-lifecycle)
- [Sign members out and handle expired sessions](https://begenuin.com/developers/developer-resources/sdk/sign-members-out-and-handle-expired-sessions)
- [Request camera, microphone, and photo library permissions](https://begenuin.com/developers/developer-resources/sdk/request-camera-microphone-and-photo-library-permissions)

## Related

- [Why add a social experience](https://begenuin.com/developers/browse-by-products/onsite/why-should-you-add-a-community-to-your-website-or-app)
- [Member journey on web and app](https://begenuin.com/developers/browse-by-products/onsite/how-users-engage-with-content-and-communities-on-web-and-app)
- [What Are the Different User Experiences in Genuin?](https://begenuin.com/developers/browse-by-products/onsite/what-are-the-different-user-experiences-in-genuin)
- [Create communities and groups](https://begenuin.com/developers/browse-by-products/onsite/create-communities-and-groups)
- [How do I add community members in your communities?](https://begenuin.com/developers/browse-by-products/onsite/how-do-i-add-community-members-in-your-communities)
- [How do I add group members in the Community Media Network?](https://begenuin.com/developers/browse-by-products/onsite/how-do-i-add-group-members-in-the-community-media-network)
- [What Is a Member and How Do You Add Them to Your Groups?](https://begenuin.com/developers/browse-by-products/onsite/what-is-a-member-and-how-to-add-them-in-your-groups)
- [What Are Subscribers and How Do You View Them in a Group?](https://begenuin.com/developers/browse-by-products/onsite/what-are-subscribers-and-how-do-you-view-them-in-a-group)
- [Launch your first community: your owned-and-operated space](https://begenuin.com/developers/browse-by-products/onsite/launch-first-community)
