mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
13 lines
410 B
TypeScript
13 lines
410 B
TypeScript
import * as React from "react";
|
|
import HuaweiProtectedApps from "react-native-huawei-protected-apps";
|
|
|
|
const config = {
|
|
title: "Huawei Protected Apps",
|
|
text: "This app requires to be enabled in 'Protected Apps' in order to receive push notifcations",
|
|
doNotShowAgainText: "Do not show again",
|
|
positiveText: "PROTECTED APPS",
|
|
negativeText: "CANCEL"
|
|
};
|
|
|
|
HuaweiProtectedApps.AlertIfHuaweiDevice(config);
|