We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Title: Add Support for Tracking and Prioritizing Unseen Stories Across Devices
Issue Text:
Enhance the story playback functionality to prioritize unseen stories and maintain a persistent record of seen stories across devices.
Current Behavior:
Expected Behavior:
is_seen: true
is_seen: false
Steps to Reproduce:
Possible Solution:
is_seen
Data Structure Example:
const stories = [{ id: 'user1', name: 'User 1', imgUrl: 'user1-profile-image-url', stories: [ { id: 'story1', is_seen: true, source: { uri: 'story1-image-url' } }, { id: 'story2', is_seen: false, source: { uri: 'story2-video-url' }, mediaType: 'video' }, // ... ] }, // ... ];
false
Alternative Approach:
Pass a separate array for seen stories:
const seenStories = [{ id: 'user1', name: 'User 1', imgUrl: 'user1-profile-image-url', stories: [ { id: 'story1', is_seen: true, source: { uri: 'story1-image-url' } }, { id: 'story2', is_seen: false, source: { uri: 'story2-video-url' }, mediaType: 'video' }, // ... ] }, // ... ]; <InstagramStories ref={instagramStoriesRef} isVisible={isVisible} stories={stories} saveProgress={true} seenStories={seenStories} />
Additional Note:
The saveProgress prop is suitable for device-oriented usage but not for multiple users.
saveProgress
The text was updated successfully, but these errors were encountered:
@LukasFridmansky
Sorry, something went wrong.
No branches or pull requests
Title: Add Support for Tracking and Prioritizing Unseen Stories Across Devices
Issue Text:
Enhance the story playback functionality to prioritize unseen stories and maintain a persistent record of seen stories across devices.
Current Behavior:
Expected Behavior:
is_seen: true
should be considered as already seen.is_seen: false
) should be played first.Steps to Reproduce:
Possible Solution:
is_seen
indicating whether the story has been seen.Data Structure Example:
is_seen
is not passed, consider it asfalse
.Alternative Approach:
Pass a separate array for seen stories:
Additional Note:
The
saveProgress
prop is suitable for device-oriented usage but not for multiple users.The text was updated successfully, but these errors were encountered: