Languages

Menu
Sites
Language
Undocumented APIs is detected error - Not using any of the APIs

Hi,

My application is getting rejected with error Undocumented APIs is detected,

eina_value_type_check[dehazez3]
eina_value_inner_alloc[dehazez3]
_EINA_VALUE_TYPE_BASICS_START[dehazez3]
eina_value_new[dehazez3]
eina_value_inner_free[dehazez3]
eina_array_grow[dehazez3]
_EINA_VALUE_TYPE_BASICS_END[dehazez3]
eina_value_copy[dehazez3]
eina_value_struct_member_find[dehazez3]

 

I am not using any of the above listed APIs in my code.

Only varibale i use related to eina is EINA_FALSE and EINA_TRUE.

 

Can someone advice me how to fix thgis issue.

Thanks in Advance.

Responses

13 Replies
Alex Dem

Hi,
Maybe you use some library in your project which contains such APIs.
Alexey.

Abhilash Kankokkaran

I am not using any libraries in my project.

Jean Yang

Have u used the third party libraries or codes?

My question is why you used the value EINA_FALSE and EINA_TRUE? Can u paster your related codes?

Abhilash Kankokkaran

I am not using any third party libraries or code.

 

 

elm_naviframe_item_title_enabled_set(ad->dehaze_nf_it, EINA_FALSE, EINA_FALSE);

 

static Eina_Bool _main_view_stop_camera_preview (camera_h camera)

{

.......................

....................

 return EINA_TRUE;

}

 

Alex Dem

Hi,
It should not be due EINA_TRUE/EINA_FALSE.
Try to ask In Tizen Store->Support ->My Q&A also.
Alexey.

Palitsyna

Hello,

you can ask your question on Tizen Store Help:

https://help.content.samsung.com/csweb/main/ticketGate.do

Hope you will get quick answer there/

Abhilash Kankokkaran

I have included #include <Elementary_GL_Helpers.h> in my code for GL related APIs.

#include <Elementary_GL_Helpers.h> -> <Elementary.h> -><Eina.h> -><eina_value.h>
<eina_value.h> contains "eina_value_type_check" which is Undefined Symbol.

Now can someone please tell me how can i avoid this ?

I need <Elementary_GL_Helpers.h> in my code for GL related APIs.

Alex Dem

Hi,
I think it should not be due #include <Elementary.h> . Because of it is included in every UI project (or almost every, but I did not face with projects without)
Alexey.

Jean Yang

Hi Abhilash,

   In fact, the file you point out should be Tizen platform file, it should have no problem. And the undefined Symbol you mentioned defined as below.

      static inline const Eina_Value_Type *eina_value_type_get(const Eina_Value *value) EINA_PURE EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT;

   There is a solution for your project. Create a new project with Tizen GLViewCube sample template, you can do this by Tizen IDE->File->New->Tizen Native Project, take Tizen IDE 2.3.1 for example, you can then choose Sample->MOBILE-2.3.1->Native UI App, then find the sample named GLViewCube from the sample list.

   This project already include <Elementary_GL_Helpers.h> and you can build it successfully.

    Then try to move your own project into this new project. You should can add your codes in parts by parts, then maybe the build problem will comes out again when you add in a certain part or a certain file, then you will shrink the scope which cause this build problem. You also may be can finish the moving without the build problem anymore if you are luck enough.

    Best wish!

Br

Jean
 

 

Abhilash Kankokkaran

When i compile in my IDE, i dont find any issues.

Its building properly. Only while verification process, its getting rejected.

Jean Yang

What's the original version your project write to? If you write this application in an earlier version then try to verify it by a later version, the problem may happens. So please check the version firstly.

Carsten Haitzler

this is a bug in tizen. this is due to now us rejecting apps due to "invalid symbols" and our valid symbol list is basically wrong. we didn't know until we started rejecting and people started complaining.yes - i know this is bad. eina_value_type_check() is basically required  so eina_value can be used at all.

eina does a lot of this with static inline functions that may call exported symbols. this is for speed reasons to ensure the speed critical code gets inlined into the code using the api. tizen's use of efl has now upset this balance and we need to address it.

Abhilash Kankokkaran

Thanks for your reply.

Luckily i already found a way to upload the app.

I was using the samsung internal SDK ( 2.4.0b_RC9) for app development before.

Now I downloaded the windows public SDK and issue is fixed.