openfoodfacts-react-native icon indicating copy to clipboard operation
openfoodfacts-react-native copied to clipboard

Missing files

Open niowniow opened this issue 4 years ago • 0 comments

Thanks for the code. However, I think it might not be as usable as it could be. If I'm not mistaken there are several files missing to make it work, e.g.

Analytics required in AddProductScreen.js

import { logUserEventContributeOFF } from '../../helpers/Analytics';

OFFAuth.js required in API/api.js

import { userId, password, getEditComment, userAgent } from '../../OFFAuth.js';

There might be more...

It seems you only partially committed the code taken from another app!? Could you add the required files or rewrite the code such that it works? The best would be a fully working minimal example application (including react-native skeleton). I could also help with that.

niowniow avatar Mar 04 '20 12:03 niowniow