Skip to content

adtrace/nextjs-webview

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

important

the main point is to put javascript code in such a way that nextjs will not get it through build process and it is only loaded scripts if it is on webview aka Android application. take a look at _app.tsx

        if (window.AdTraceBridge) { // check if webView

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published