Closed Faiz882 closed 1 year ago
Hey @Faiz882 I think this error indicates that you have added a private function that is either annotated with @Preview
or @ShowkaseComposable
in a module that has showkase as a dependency. In the next release of Showkase we are adding a compiler flag that you can set to allow this behaviour. However, in the current release, this will cause an error at compile time
Here is a link to the PR that allows this: https://github.com/airbnb/Showkase/pull/261
Hi @oas004 This issue has been resolved. Now i am facing an issue while integrating in my own project. can you please checked the below image and identify why this issue is occurring?
From the picture it might be this issue : https://github.com/airbnb/Showkase/pull/258
This will be released in the next release as well I believe.
However, it is hard to tell without seeing the code. If you provide a sample I can have a look of course 😊
Do you think it's due to multiple flavors ?
@oas004 Actually I am using 4 different flavors e.g patient, doctor, patientBeta and doctorBeta. Current my build variant is patient , so is there any possibility to occurring this issue due to multiple flavors? I have used same code in testSampleProject. Everything is working fine in that project.
I think it is the issue I posted because of the indentation 😊
Okay Thank you Noted
can you please help me to resolve this issue ? com.airbnb.android.showkase.processor.exceptions.ShowkaseProcessorException: The methods annotated with ShowkaseComposable can't be private as Showkase won't be able to access them otherwise.