secure API key at native app

secure API key at native app

  

Hi All,

My app is calling google API for image processing, to keep the key secure, currently i store the API key in the server side db table. if i want to move the API calling to local native app side, how do i protect the API key?

1. store it in the local table?

2. Hard code it at code level using local variable, session variable, site property?