react-native-moengage
Advanced tools
Comparing version
@@ -0,1 +1,14 @@ | ||
# 31-07-2024 | ||
## 10.3.0 | ||
- Fixing the typescript configuration warnings. | ||
- Android | ||
- `moe-android-sdk` version updated to `13.04.00` | ||
- `inapp` version updated to `8.5.0` | ||
- Added support for AGP `8.4.0` and above | ||
- Kotlin version updated to `1.9.23` | ||
- Compile SDK version updated to `34` | ||
- iOS | ||
- MoEngage-iOS-SDK version updated to `~>9.18.0`. | ||
# 03-07-2024 | ||
@@ -2,0 +15,0 @@ |
{ | ||
"name": "react-native-moengage", | ||
"version": "10.2.0", | ||
"version": "10.3.0", | ||
"description": "MoEngage is a mobile marketing automation company. This react-native SDK helps you track events, trigger smart notifications and in-apps, provides a drop-in Inbox Controller for notifications.", | ||
@@ -27,3 +27,3 @@ "main": "src/index.ts", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "echo \"Test cases not available\" && exit 0" | ||
}, | ||
@@ -39,3 +39,3 @@ "author": { | ||
"devDependencies": { | ||
"@types/react-native": "^0.69.3" | ||
"react-native": "0.73.0" | ||
}, | ||
@@ -42,0 +42,0 @@ "codegenConfig": { |
@@ -724,3 +724,3 @@ import { NativeEventEmitter, Platform } from "react-native"; | ||
const deleteUserPayload = await MoEReactBridge.deleteUser(accountMetaJson); | ||
return getUserDeletionData(deleteUserPayload); | ||
return getUserDeletionData(deleteUserPayload as string); | ||
} else { | ||
@@ -727,0 +727,0 @@ MoEngageLogger.debug("This api is not supported on iOS platform."); |
import MoEngageLogger from "../logger/MoEngageLogger"; | ||
import MoEAccountMeta from "../models/MoEAccountMeta"; | ||
import MoECampaignContext from "../models/MoECampaignContext"; | ||
@@ -13,3 +12,2 @@ import MoECampaignData from "../models/MoECampaignData"; | ||
ACTION_TYPE, | ||
APP_ID, | ||
FORMATTED_CAMPAIGN_ID, | ||
@@ -30,3 +28,2 @@ MOE_CAMPAIGN_CONTEXT, | ||
MOE_SELF_HANDLED, | ||
MOE_SELF_HANDLED_OBJ_ERROR, | ||
MOE_NAVIGATION_VALUE | ||
@@ -33,0 +30,0 @@ } from "../utils/MoEConstants"; |
@@ -36,7 +36,7 @@ import MoEAccountMeta from "../models/MoEAccountMeta"; | ||
* | ||
* @param payload - JSON Object with required key | ||
* @param payload - stringified JSON Object with required key | ||
* @returns instance of {@link UserDeletionData} | ||
* @since 8.6.0 | ||
*/ | ||
export function getUserDeletionData(payload: Object): UserDeletionData { | ||
export function getUserDeletionData(payload: string): UserDeletionData { | ||
const payloadJsonObject = JSON.parse(payload); | ||
@@ -43,0 +43,0 @@ return new UserDeletionData( |
@@ -11,2 +11,3 @@ import MoEClickData from "../models/MoEClickData"; | ||
import {MoEngageNudgePosition} from "../models/MoEngageNudgePosition"; | ||
import { MoESupportedAttributes } from "../models/MoESupportedAttributes"; | ||
@@ -13,0 +14,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
236889
0.14%1
-50%2114
-0.09%