title: How to schedule a notification with changing data expo
body: <p>I am trying to make an app that utilizes expo's local notification feature and have run into an issue. I would like to make a notification that repeats every day at a certain interval with its data changing each day. I tried to use this syntax below, but it did not work as it only ran the function once, setting that value in stone for the rest of the notifications to come.</p>
  <p>Expected (10 mins: &quot;1&quot;, 20 mins: &quot;2&quot;, 30 mins: &quot;3&quot; etc.)</p>
  <p>Actual (10 mins: &quot;1&quot;, 20 mins: &quot;1&quot;, 30 mins: &quot;1&quot; etc.)</p>
  <pre><code>Notifications.scheduleNotificationAsync({
         content: {
             title: 'My Notification',
             body: this.someFunctionThatReturnsANewValue()      
         },
         trigger: {
             minutes: 10,
             repeats: true
         }
  });
  </code></pre>
  <p>In that case, I wanted to know if anyone had any idea on how to make a notification that uses the repeat property and has a body component that changes values each time it is triggered. The only other way I can think of giving a notification a different value as the last is scheduling 100+ notifications in advance, but that is not pretty nor practical. Any help or suggestions towards how I can accomplish this would be greatly appreciated, thanks!</p>