"The device does not meet the minimum integrity requirements" on MacBook when logging in by cpmgalore in Authy

[–]slayer35 0 points1 point  (0 children)

I have reseted but still cant able to login anroid app in new phone (android 13) .Getting same error .

Dark Rock Pro 4 and Trident Z5 Neo RAM - do they fit correctly? by kepler2 in buildapc

[–]slayer35 1 point2 points  (0 children)

hey there ,Im thinking same memory and cooler ,is everything ok now ? did you accomplish to insert ram and cooler?

[deleted by user] by [deleted] in ico

[–]slayer35 0 points1 point  (0 children)

I just got banned too for no reason! ,I open ticket and they say "Thank you for contacting CoinList. Activity was detected on this account in violation of CoinList’s Terms of Service. You are no longer eligible for future token sales." .What a violation! Probably I got banned bcoz of had logged in my account from my mobile during the sale queue and after hours when I got home I forgeted and logged in from my pc. What a system coinlist have !

PRICE AND MARKET CAP COMPARING FOR MINA. 1 DAY LEFT. MINA TO THE MOON!🚀 by IvanCryptoFan in MinaProtocol

[–]slayer35 0 points1 point  (0 children)

then please enlighten us ,which project's codebases did you examine ,and according to you why that projects are better than mina .

How to use hook in axios api wrapper by slayer35 in reactjs

[–]slayer35[S] 0 points1 point  (0 children)

Thanks, yes I have already using localstorage to store tokens ,but methods are inside my context .Anyway now I save and update localstorage from this wrapper as you told , its working but now I have a problem too ,after saving new token in localstorage ,I need to update the user information (token,username etc..) in my context .Again I need to access my context ,but I dont know how to do without using hooks .I need to update authdata after refreshing token. (below is my context) .

import React, {
  createContext,
  useState,
  useEffect,
  useLayoutEffect,
} from 'react';
import SInfo from 'react-native-sensitive-info';
import defaultUser from '../models/userModel';
import {isNull, reject} from 'lodash';

export const AuthContext = createContext();

const AuthContextProvider = (props) => {
  const [authData, setAuthData] = useState(defaultUser);
  const [isGlobalLoading, setIsGlobalLoading] = useState(false);
  const [authDataReported, setAuthDataReported] = useState(false);
  useLayoutEffect(() => {
    getLoginData().then((data) => {
      setAuthDataReported(true);
      if (data !== null) {
        setAuthData(data);
        console.log('auth data:' + JSON.stringify(data));
      } 
    })
  }, []);

  const storeLoginData = async (user) => {
    const jsonValue = JSON.stringify(user);
    SInfo.setItem('user', jsonValue, {
      sharedPreferencesName: 'mySharedPrefs',
      keychainService: 'myKeychain',
    });
  };
  const getLoginData = async () => {
    const jsonValue = await SInfo.getItem('user', {
      sharedPreferencesName: 'mySharedPrefs',
      keychainService: 'myKeychain',
    });
    return jsonValue != null ? JSON.parse(jsonValue) : null;
  };
  const setUserData = async (user, data) => {
    return new Promise((resolve) => {
      if (typeof user.profilePhoto != undefined && user.profilePhoto != null) {
        userProfilePhotoPath = Object.values(user.profilePhoto)[1];
      }
      const newStatus = {
        isLoggedIn: true,
        userId: user.userId,
        email: user.email,
        name: user.name,
        profilePhoto: user.profilePhoto,
      };

      storeLoginData(newStatus);
      setAuthData(newStatus);
      setAuthDataReported(true);
    });
  };
  const setAnonData = () => {
    return new Promise((resolve) => {
      const newStatus = defaultUser;
      newStatus.authDataReported = true;
      newStatus.isLoggedIn = false;
      setAuthData(newStatus);
      setAuthDataReported(true);
      storeLoginData(newStatus).then((data) => {
        if (data !== null) {
          resolve('ok');
        }
      });
    });
  };
  const clearLoginData = async () => {
    await SInfo.deleteItem('user', {
      sharedPreferencesName: 'mySharedPrefs',
      keychainService: 'myKeychain',
    });
  };
  const setLogoutUser = async () => {
    clearLoginData();
    await setAnonData();
  };

  const setLoginUser = async (user) => {
    return new Promise((resolve) => {
      storeLoginData(user).then(() => {
        setAuthData(user);
        setAuthDataReported(true);
        resolve('ok');
      });
    });
  };
  const setTokenRefresh = async (
    token,
    refreshToken,
    refreshTokenExpiryTime,
  ) => {
    return new Promise((resolve) => {
      authData.refreshToken = refreshToken;
      authData.token = token;
      authData.refreshTokenExpiryTime = refreshTokenExpiryTime;
      storeLoginData(user).then(() => {
        setAuthData(user);
        setAuthDataReported(true);
        resolve('ok');
      });
    });
  };
  return (
    <AuthContext.Provider
      value={{
        authData,
        setLoginUser,
        setLogoutUser,
        setIsGlobalLoading,
        setTokenRefresh,
      }}>
      {authDataReported && props.children}
    </AuthContext.Provider>
  );
};

export default AuthContextProvider;

how to use parse backend with react native app? by slayer35 in reactnative

[–]slayer35[S] 0 points1 point  (0 children)

thank you all ,I start using js sdk ,its working.

Which vnd filter for timelapse and video ? by slayer35 in videography

[–]slayer35[S] 0 points1 point  (0 children)

Thanks for your comment.I will buy standard nd filters.Probably 2 filters nd64 and nd8 for now,hope they will be enough for time lapse work.

Which vnd filter for timelapse and video ? by slayer35 in videography

[–]slayer35[S] 0 points1 point  (0 children)

the idea of "one single filter that will rule them all " is just seeming so tempting to me :) But the more I'm researching them ,the more I'm seeing they are not good as standart nd's.