Skip to content
This repository has been archived by the owner on Nov 6, 2019. It is now read-only.

MCVE to reproduce timestamp bug in React Native v0.56

License

Notifications You must be signed in to change notification settings

rodrigobdz/timestamp-bug-rn-0.56

Repository files navigation

React Native Timestamp Bug

MCVE (Minimal, Complete, and Verifiable example) for React Native issue #20075.

Description

Inspecting the files inside an Android APK created with React Native v0.56 results in timestamps from December 31, 1979.

Wrong timestamps

Steps to reproduce

  1. Setup project

    react-native init AwesomeProject
    cd AwesomeProject
  2. Generate Android APK

    react-native run-android
  3. Inspect timestamps in APK files

    # Navigate to APK folder
    cd android/app/build/outputs/apk
    # Unzip files
    mkdir unpacked-apk
    cd unpacked-apk
    unzip ../app-debug.apk

Environment

react native info

License

MIT (c) 2018 Rodrigo Bermúdez Schettino