CMPUT301F24napkin / napkinfactory

0 stars 2 forks source link

QR Functionality #33

Closed jjedrych closed 2 weeks ago

jjedrych commented 2 weeks ago

it works i swear

antoszko commented 2 weeks ago
  1. do checkout main, pull, checkout yours, merge main into yours. to fix conflict file. Pretty much take all the changed from main.
  2. Looks like a dependency issue bc all my imports are red for
    
    import com.google.zxing.BarcodeFormat;
    import com.google.zxing.ResultPoint;
    import com.journeyapps.barcodescanner.BarcodeCallback;
    import com.journeyapps.barcodescanner.BarcodeResult;
    import com.journeyapps.barcodescanner.BarcodeView;
    import com.journeyapps.barcodescanner.DefaultDecoderFactory;

...

private BarcodeView qrScannerView;


but somehow it compiles and runs. IDK

Did u test it on ur phone does it work well? what happens when u complete a scan?
jjedrych commented 2 weeks ago
  1. do checkout main, pull, checkout yours, merge main into yours. to fix conflict file. Pretty much take all the changed from main.

    1. Looks like a dependency issue bc all my imports are red for
import com.google.zxing.BarcodeFormat;
import com.google.zxing.ResultPoint;
import com.journeyapps.barcodescanner.BarcodeCallback;
import com.journeyapps.barcodescanner.BarcodeResult;
import com.journeyapps.barcodescanner.BarcodeView;
import com.journeyapps.barcodescanner.DefaultDecoderFactory;

...

    private BarcodeView qrScannerView;

but somehow it compiles and runs. IDK

Did u test it on ur phone does it work well? what happens when u complete a scan?

Did you try syncing gradle before building?

Also yes its been tested on my phone. Once it scans a qr code itll bring up the standard view event fragment i made

antoszko commented 2 weeks ago

yea that fixed it thanks. Other thaan that it looks good to me