Skip to content

NativeStorage.keys func returns un known keys by default on IOS #146

@YemYigit

Description

@YemYigit

When i try to list stored keys in my NativeStorage Unit i use this lines of codes
NativeStorage.keys(keys => console.log(keys), err => console.log(err))

Expected Beahviour
Returns an array of keys created by user.

Actual behaviour
Return an array of 215 default keys first 99 samples are here

0 "WebKitDownloadAttributeEnabled"
1 "WebKitMediaSourceEnabled"
2 "WebKitSimpleLineLayoutEnabled"
3 "AddingEmojiKeybordHandled"
4 "WebKitDirectoryUploadEnabled"
5 "WebKitTextAutosizingEnabled"
6 "WebKitFantasyFont"
7 "com.firebase.instanceid.user_defaults.locale"
8 "WebKitUserStyleSheetEnabledPreferenceKey"
9 "WebKitCacheModelPreferenceKey"
10 "WebKitJavaScriptRuntimeFlagsPreferenceKey"
11 "WebKitPrivateBrowsingEnabled"
12 "WebKitBackForwardCacheExpirationIntervalKey"
13 "WebKitVisualViewportAPIEnabled"
14 "WebKitXSSAuditorEnabled"
15 "WebKitEncryptedMediaAPIEnabled"
16 "WebKitResourceTimingEnabled"
17 "WebKitAcceleratedCompositingEnabled"
18 "WebKitHyperlinkAuditingEnabled"
19 "WebKitLoadSiteIconsKey"
20 "com.firebase.messaging.pending-subscriptions"
21 "WebKitDisplayImagesKey"
22 "WebKitAllowsPictureInPictureMediaPlayback"
23 "WebKitHiddenPageCSSAnimationSuspensionEnabled"
24 "WebKitSansSerifFont"
25 "WebKitCSSOMViewScrollingAPIEnabled"
26 "WebKitAllowAnimatedImagesPreferenceKey"
27 "AppleITunesStoreItemKinds"
28 "WebKitLayoutIntervalPreferenceKey"
29 "WebKitWebGPUEnabled"
30 "WebKitReferrerPolicyAttributeEnabled"
31 "WebKitUsesEncodingDetector"
32 "NSLanguages"
33 "WebKitMediaDevicesEnabled"
34 "WebKitMediaCaptureRequiresSecureConnection"
35 "WebKitSyntheticEditingCommandsEnabled"
36 "AKLastIDMSEnvironment"
37 "WebKitMediaPlaybackAllowsInline"
38 "AppleLanguages"
39 "WebKitApplicationCacheTotalQuota"
40 "WebKitMediaUserGestureInheritsFromDocument"
41 "WebKitCustomPasteboardDataEnabled"
42 "WebKitFixedFont"
43 "WebKitMinimumLogicalFontSize"
44 "WebKitCanvasUsesAcceleratedDrawing"
45 "AppleLanguagesSchemaVersion"
46 "WebKitAllowMediaContentTypesRequiringHardwareSupportAsFallback"
47 "WebKitAsynchronousSpellCheckingEnabled"
48 "WebKitWebAnimationsEnabled"
49 "WebKitStandardFont"
50 "WebKitAlwaysRequestGeolocationPermission"
51 "WebKitAdClickAttributionEnabled"
52 "WebKitSerifFont"
53 "WebKitJavaScriptCanAccessClipboard"
54 "WebKitAllowUniversalAccessFromFileURLs"
55 "WebKitUsesPageCachePreferenceKey"
56 "WebKitIsSecureContextAttributeEnabled"
57 "WebKitPlugInSnapshottingEnabled"
58 "WebKitMediaRecorderEnabled"
59 "WebKitAVFoundationNSURLSessionEnabled"
60 "WebKitViewportFitEnabled"
61 "WebKitDOMTimersThrottlingEnabledPreferenceKey"
62 "METAL_ERROR_MODE"
63 "WebKitFetchAPIKeepAliveEnabled"
64 "INNextHearbeatDate"
65 "WebKitUserStyleSheetLocationPreferenceKey"
66 "METAL_DEVICE_WRAPPER_TYPE"
67 "WebKitFrameFlattening"
68 "com.apple.content-rating.ExplicitMusicPodcastsAllowed"
69 "WebKitDeveloperExtrasEnabledPreferenceKey"
70 "WebKitAllowAnimatedImageLoopingPreferenceKey"
71 "WebKitReadableByteStreamAPIEnabled"
72 "WebKitAllowsInlineMediaPlaybackAfterFullscreen"
73 "PKKeychainVersionKey"
74 "WebKitLocalFileContentSniffingEnabledPreferenceKey"
75 "WebKitVideoPlaybackRequiresUserGesture"
76 "WebKitDisplayListDrawingEnabled"
77 "WebKitInspectorAdditionsEnabled"
78 "com.apple.content-rating.AppRating"
79 "WebKitPageCacheSupportsPluginsPreferenceKey"
80 "WebKitSubpixelCSSOMElementMetricsEnabled"
81 "WebKitResourceLoadStatisticsEnabled"
82 "WebKitSourceBufferChangeTypeEnabled"
83 "AppleKeyboards"
84 "WebKitAccelerated2dCanvasEnabled"
85 "WebKitCursiveFont"
86 "WebKitSpatialNavigationEnabled"
87 "Cordova-User-Agent-Version"
88 "WebKitUsePreHTML5ParserQuirks"
89 "WebKitAcceleratedDrawingEnabled"
90 "WebKitColorFilterEnabled"
91 "WebKitHistoryItemLimit"
92 "WebKitJavaScriptEnabled"
93 "METAL_ERROR_CHECK_EXTENDED_MODE"
94 "WebKitDefaultFixedFontSize"
95 "WebKitTelephoneParsingEnabledPreferenceKey"
96 "WebKitAllowMultiElementImplicitFormSubmissionPreferenceKey"
97 "WebKitWebAnimationsCSSIntegrationEnabled"
98 "WebKitAVFoundationEnabled"
99 "METAL_DEBUG_ERROR_MODE"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions