Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in function parameters generateAndUploadReport() #8

Open
mohdsubhi opened this issue May 4, 2020 · 0 comments
Open

Error in function parameters generateAndUploadReport() #8

mohdsubhi opened this issue May 4, 2020 · 0 comments

Comments

@mohdsubhi
Copy link

mohdsubhi commented May 4, 2020

I have the following error in the create report function
~\covidwatch-android-minimal\app\src\main\java\org\covidwatch\android\CovidWatchTcnManager.kt: (102, 62): No value passed for parameter 'memoType'

fun generateAndUploadReport() { // Create a new Signed Report with uploadStateset to.notUploaded and store it in the local persistent store. // This will kick off an observer that watches for signed reports which were not uploaded and will upload it. val signedReport = SignedReport(tcnKeys.createReport()) signedReport.isProcessed = true signedReport.uploadState = SignedReport.UploadState.NOTUPLOADED CovidWatchDatabase.databaseWriteExecutor.execute { val dao = CovidWatchDatabase.getInstance(context).signedReportDAO() dao.insert(signedReport) } }

@mohdsubhi mohdsubhi changed the title Connection reset Error in function parameters generateAndUploadReport() May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant