Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

MidKnightXI/Redditech

Open more actions menu

Repository files navigation

WARNING

react-native-video may output an error when building the app.

To fix this go to:

node_modules/react-native-video/android-exoplayer/build.gradle

Change in the build.gradle every 2.13.2 by 2.13.3

This bug has already been reported to the devs of react-native-video but we fixed it by ourselves waiting for a patch from them.

Setup

First you need to configure your Android emulator

  • Fix the bug called above
  • Install dependencies with yarn install or npm install.
  • Open a shell and run yarn react-native start or npm react-native start.
  • Open a new shell and execute yarn react-native run-android or npm react-native run-android
  • Enjoy 🥰

Info

You won't be able to connect with your Reddit account because I deleted the app on Reddit, if you want to test it put your own infos in sources/use-auth.js

function useProvideAuth() {
  const signin = async () => {
    const config = {
    . . .
    
      clientId: '<clientID>',
    
    . . .
    
      customHeaders: {
        token: {
          Authorization: 'Basic <base64encoded clientID:>',
        },
      },
  }
}

About

Redditech EPITECH 2022

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.