Socket
Socket
Sign inDemoInstall

react-native-push-notification-popup

Package Overview
Dependencies
5
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.0 to 1.5.0

2

package.json
{
"name": "react-native-push-notification-popup",
"version": "1.4.0",
"version": "1.5.0",
"description": "React Native Push Notification Popup Component",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -121,3 +121,3 @@ import React, { Component } from 'react';

this.clearTimerIfExist();
Animated.timing(containerDragOffsetY, { toValue: 0, duration: 200 })
Animated.timing(containerDragOffsetY, { toValue: 0, duration: 200, useNativeDriver: true })
.start(({finished}) => {

@@ -194,3 +194,3 @@ // Reset a new countdown

const { containerScale } = this.state;
Animated.spring(containerScale, { toValue: 0.95, friction: 8 })
Animated.spring(containerScale, { toValue: 0.95, friction: 8, useNativeDriver: true })
.start();

@@ -203,3 +203,3 @@ }

const { containerScale } = this.state;
Animated.spring(containerScale, { toValue: 1, friction: 8 })
Animated.spring(containerScale, { toValue: 1, friction: 8, useNativeDriver: true })
.start();

@@ -226,3 +226,3 @@ }

const { containerSlideOffsetY } = this.state; // Using the new one is fine
Animated.timing(containerSlideOffsetY, { toValue: 1, duration: duration || 400, }) // TODO: customize
Animated.timing(containerSlideOffsetY, { toValue: 1, duration: duration || 400, useNativeDriver: true }) // TODO: customize
.start(({finished}) => {

@@ -244,3 +244,3 @@ this.countdownToSlideOut();

// Reset animation to 0 && show it && animate
Animated.timing(containerSlideOffsetY, { toValue: 0, duration: duration || 400, }) // TODO: customize
Animated.timing(containerSlideOffsetY, { toValue: 0, duration: duration || 400, useNativeDriver: true }) // TODO: customize
.start(({finished}) => {

@@ -247,0 +247,0 @@ // Reset everything and hide the popup

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc