Question
I recently attempted to publish my first Native App to the Tizen Store, but the validation team rejected it due to a whitelist issue. The rejection message stated: "An API, which is not officially documented in the Tizen SDK, has been used in the source code of the Application package."
The following APIs were flagged in core_whitelist.txt:
- elm_object_color_class_color_set[applicationstoreui]
- elm_calendar_selected_time_set[applicationstoreui]
- elm_calendar_selected_time_get[applicationstoreui]
- elm_entry_select_allow_set[applicationstoreui]
- elm_calendar_add[applicationstoreui]
- elm_frame_add[applicationstoreui]
- elm_calendar_min_max_year_set[applicationstoreui]
- elm_popup_dismiss[applicationstoreui]
- elm_calendar_first_day_of_week_set[applicationstoreui]
Additionally, core_architecture.txt showed:
- Intel 80386[applicationstoreui]
How can I resolve these issues and successfully publish my Native App?
Answer
Problem Understanding
Your app was rejected because it's using APIs that are either undocumented or deprecated in the Tizen SDK. The validation team maintains a whitelist of approved APIs, and any usage outside this list will cause rejection.
Solution Methods
-
Check API Documentation Status:
- Verify each flagged API in the official Tizen documentation to confirm whether it's officially supported or deprecated.
- For example,
elm_frame_add()has been reported as deprecated in some Tizen versions.
-
Replace Deprecated APIs:
- If an API is deprecated, find its recommended replacement in the current SDK.
- For
elm_frame_add(), consider using alternative layout methods or newer Elementary APIs.
-
Review Architecture Compatibility:
- The Intel 80386 architecture flag suggests potential compatibility issues. Ensure your app is built for the correct target architecture.
-
Resubmit After Changes:
- After replacing all problematic APIs and verifying architecture compatibility, rebuild your application and resubmit for validation.
Additional Tips
- Always check the API documentation for deprecation notices before implementation.
- Test your app on different Tizen versions to ensure compatibility.
- Consider joining the Tizen developer community for the latest updates on API changes.