title: Google Fit Custom Data Type
body: <p>I am creating one Google Fit compatible App. My objective is to store Google Fit data using <a href="https://developers.google.com/android/reference/com/google/android/gms/fitness/HistoryApi" rel="nofollow noreferrer">HistoryApi</a>, and provide kind of Back Up- Restore functionality to user. If user buys new Android devices then he/she should be able to BackUp(sync) old data using his/her account.</p>
  
  <p>I need to use Custom Data Type, as Public Data Types doesn't meet my requirements.</p>
  
  <p>Everything works perfect, I am able to insert data and read data using History Api. 
  But When I try to read data from Another Android device using same Google Account then data is not available to read there.</p>
  
  <p>My problem seems similar to this <a href="https://stackoverflow.com/questions/28059665/custom-datatypes-not-synching-between-devices">Custom DataTypes not synching between devices</a></p>
  
  <p>This statement from Google Fit Document is not clear to me.</p>
  
  <blockquote>
    <p>Custom data types are not available to use in other apps. Only the app
    that creates a custom fitness data type can use it</p>
  </blockquote>
  
  <p>source : <a href="https://developers.google.com/fit/android/data-types#custom_data_types" rel="nofollow noreferrer">CustomDataType</a></p>
  
  <p>Q-1) What does it really means ? If I have an app GoogleFitDemo installed on multiple Android devices, then is it possible to sync data between this same app between multiple Android devices ?</p>
  
  <p>Q-2)Is it improper way to store and backup data using Google fit ?</p>
  
  <p><strong>Update:</strong>
  Finally, I found that Custom Data Type can also be synced normally, same as other Public Data Types. I had the sync issue as mentioned by @Ifor. Sync functionality is still buggy. In some scenarios sync stops working, and sometimes synced data is inconsistent across multiple devices.</p>