The instructions provided in the README.md file cannot be followed as described. Specifically, the snippet provided in the "Getting Started" section suggests adding code to the onViewCreated() function within MainActivity.kt. However, AppCompatActivity does not have an onViewCreated() function, making it impossible to implement the code as directed.
Steps to Reproduce
- Follow the steps in the README.md under the "Getting Started" section.
- Attempt to add the provided code snippet to the
MainActivity.kt inside an onViewCreated() function.
Expected Behavior
The README.md should provide accurate and usable instructions for setting up the OMH Auth client, including correct method references that align with standard Android development practices.
Actual Behavior
The suggested code snippet cannot be implemented as described because AppCompatActivity does not contain an onViewCreated() method. This results in frustration and makes the SDK unusable in its current form.
Suggested Fix
- Review and correct the README.md file to provide the correct method where the code snippet should be added.
- Ensure all steps in the "Getting Started" guide are verified and tested to avoid similar issues in the future.
Impact
This issue is a blocker for developers trying to integrate the SDK, leading to frustration and delays. Immediate attention is required to address this and ensure the SDK is usable.
Request
Please have developers follow the steps outlined in the README.md to ensure that they are accurate and that the SDK is fully functional as described.
The instructions provided in the README.md file cannot be followed as described. Specifically, the snippet provided in the "Getting Started" section suggests adding code to the
onViewCreated()function withinMainActivity.kt. However,AppCompatActivitydoes not have anonViewCreated()function, making it impossible to implement the code as directed.Steps to Reproduce
MainActivity.ktinside anonViewCreated()function.Expected Behavior
The README.md should provide accurate and usable instructions for setting up the OMH Auth client, including correct method references that align with standard Android development practices.
Actual Behavior
The suggested code snippet cannot be implemented as described because
AppCompatActivitydoes not contain anonViewCreated()method. This results in frustration and makes the SDK unusable in its current form.Suggested Fix
Impact
This issue is a blocker for developers trying to integrate the SDK, leading to frustration and delays. Immediate attention is required to address this and ensure the SDK is usable.
Request
Please have developers follow the steps outlined in the README.md to ensure that they are accurate and that the SDK is fully functional as described.