MaDurga
Occasional Observer

Native Mobile App

Jump to solution

Is there any API or sdk that we can leverage for a Native Mobile App? We are building a mobile app in React Native but we are not sure if there are any API's that we can use to have the mobile get its content feed from Crownpeak CMS.

Any document guide or advise would be of great help.

0 Kudos
1 Solution

Accepted Solutions
MarcusEdwards
Crownpeak (Retired)

This is a perfect example where it is imperative that you understand the decoupled architecture of Crownpeak DXM. You need to make content available in the content delivery environment, not the content management environment. In this case, a headless architecture where each mobile app client pulls content on-demand would be the most appropriate. As you are using React Native, it would also make sense for your content to be available in JSON.

I would recommend either:

  1. Publishing your content to Search G2 and then using the Solr Query API to retrieve content; or
  2. Publishing JSON to a scalable content delivery platform like Amazon S3 + CloudFront. There is no API in this scenario but this could work if you have a single resource per view that all mobile app clients share ('home.json', 'resources.json' etc.).

View solution in original post

0 Kudos
1 Reply
MarcusEdwards
Crownpeak (Retired)

This is a perfect example where it is imperative that you understand the decoupled architecture of Crownpeak DXM. You need to make content available in the content delivery environment, not the content management environment. In this case, a headless architecture where each mobile app client pulls content on-demand would be the most appropriate. As you are using React Native, it would also make sense for your content to be available in JSON.

I would recommend either:

  1. Publishing your content to Search G2 and then using the Solr Query API to retrieve content; or
  2. Publishing JSON to a scalable content delivery platform like Amazon S3 + CloudFront. There is no API in this scenario but this could work if you have a single resource per view that all mobile app clients share ('home.json', 'resources.json' etc.).
0 Kudos