notifml-react-native
v0.1.0
Published
Lightweight React Native SDK for sending Notif WhatsApp, SMS, email, and scheduled messages.
Maintainers
Readme
notifml-react-native
Lightweight React Native SDK for Notif.
Install
npm i notifml-react-nativeUsage
import { createNotifClient } from "notifml-react-native";
const notif = createNotifClient({
apiKey: "ntf_live_xxx",
});
await notif.send({
to: "+22370000000",
channel: "whatsapp",
message: "Votre commande est prete.",
});Scheduled message
await notif.schedule(
{
to: "+22370000000",
channel: "whatsapp",
message: "Relance client",
},
"2026-05-06T18:30:00.000Z",
);Developer helpers
await notif.status("ntf_msg_xxx");
await notif.logs({ limit: 10 });
await notif.balance();
await notif.whoami();Security
For internal apps, store the API key in secure storage. For public consumer apps, prefer calling your own backend proxy so the live Notif key is not embedded in the mobile bundle.
