Skip to content

Login QRcode show only url #55

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Suphachock opened this issue Apr 20, 2025 · 0 comments
Open

Login QRcode show only url #55

Suphachock opened this issue Apr 20, 2025 · 0 comments

Comments

@Suphachock
Copy link

I want to know function to show QRcode when login with QRcode Now I use below code

import { BaseClient } from "@evex/linejs/base";
import { FileStorage } from "@evex/linejs/storage";
const storage = new FileStorage("./storage.json");

const client = new BaseClient({
device: "DESKTOPWIN",
storage,
});
client.on("qrcall", (qrUrl) => {
console.log("qrcode:", qrUrl);
});
client.on("pincall", (pin) => {
console.log("pincode:", pin);
});
await client.loginProcess.withQrCode({});

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

No branches or pull requests

1 participant