Giter VIP home page Giter VIP logo

blueshift-react-native's People

Contributors

ketanshikharebsft avatar rahulrvp avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blueshift-react-native's Issues

Sensitive information stored in device memory

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?

Failed release build for Android - uses-sdk:minSdkVersion 16 cannot be smaller than version 21

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 :)

error: cannot find symbol String while updating to RN 0.73.4

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.