blueshift-labs / blueshift-react-native Goto Github PK
View Code? Open in Web Editor NEWOfficial React Native plugin for Blueshift's native Android and iOS SDKs
Home Page: https://www.npmjs.com/package/blueshift-react-native
License: MIT License
Official React Native plugin for Blueshift's native Android and iOS SDKs
Home Page: https://www.npmjs.com/package/blueshift-react-native
License: MIT License
Hi
I am using "blueshift-react-native": "^1.0.3" in react native project.
After setting user data two files are created in the android device.
shared_prefs/com.package.user_info_file.xml
shared_prefs/com.package.BsftEmailPrefFile.xml
Above files include user email which is not encrypted and stored in clear text.
My two questions are:
a) Is there a way to encrypt these values in a way the events and SDK will still work?
b) Blueshift.removeUserInfo()
method description states
/**
* Remove all the saved user info from the SDK.
*
* Usage -
* Blueshift.removeUserInfo();
*/
function removeUserInfo(): void;
yet above mention files remain in the phone memory post logout. Is that expected behaviour?
Running into this issue, looks like it's already fixed in the underlying lib, just need to update the dependency on this one: blueshift-labs/Blueshift-iOS-SDK#255
Issue - TEST 00
Hi there, I wondered if you could help.
I'm seeing failures in build our release pipeline since upgrading to react-native: 0.71.8
Execution failed for task ':blueshift-react-native:processDebugAndroidTestManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library [com.facebook.react:react-android:0.71.8] /Users/myuser/.gradle/caches/transforms-3/7325bf4a076c6e711c0c38433a1d8c5e/transformed/jetified-react-android-0.71.8-debug/AndroidManifest.xml as the library might be using APIs not available in 16
Suggestion: use a compatible library with a minSdk of at most 16,
or increase this project's minSdk version to at least 21,
or use tools:overrideLibrary="com.facebook.react" to force usage (may lead to runtime failures)
build.gradle
ext {
buildToolsVersion = "33.0.0"
minSdkVersion = 21
compileSdkVersion = 33
targetSdkVersion = 33
// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
ndkVersion = "23.1.7779620"
}
app/build.gradle
minSdkVersion rootProject.ext.minSdkVersion // uses root build.gradle minSdkVersion
Wondering if you've come across anyone experiencing this. Any help is appreciated :)
[TEST] This is a test issue description
Hello,
I get an error after updating our app to the latest RN.
error Failed to install the app. Command failed with exit code 1: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 .../node_modules/blueshift-react-native/android/src/main/java/com/blueshift/reactnative/BlueshiftReactNativeModule.java:440: error: cannot find symbol String errorMessage = getReactApplicationContext().getString(R.string.bsft_inbox_delete_failure_message); ^ symbol: variable string location: class R Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: .../node_modules/blueshift-react-native/android/src/main/java/com/blueshift/reactnative/BlueshiftReactNativeEventHandler.java uses unchecked or unsafe operations.
Java version: 17
gradle version: 8.3
blueshift sdk version: 3.4.4
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.