1"use strict";(self.webpackChunkshake=self.webpackChunkshake||[]).push([[4295],{3894:(s,a,e)=>{e.r(a),e.d(a,{assets:()=>d,contentTitle:()=>r,default:()=>u,frontMatter:()=>n,metadata:()=>i,toc:()=>o});const i=JSON.parse('{"id":"react/configuration-and-data/data-attached-by-default","title":"Data attached by default","description":"This is the data Shake automatically attaches to every ticket you receive.","source":"@site/docs/react/configuration-and-data/data-attached-by-default.md","sourceDirName":"react/configuration-and-data","slug":"/react/configuration-and-data/data-attached-by-default","permalink":"/docs/react/configuration-and-data/data-attached-by-default","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"id":"data-attached-by-default","title":"Data attached by default"},"sidebar":"reactSidebar","previous":{"title":"Callbacks","permalink":"/docs/react/configuration-and-data/callbacks"},"next":{"title":"Auto screenshot","permalink":"/docs/react/configuration-and-data/auto-screenshot"}}');var t=e(4848),c=e(8453),l=e(6025);const n={id:"data-attached-by-default",title:"Data attached by default"},r=void 0,d={},o=[{value:"Automatically attached",id:"automatically-attached",level:2},{value:"Attach more data",id:"attach-more-data",level:2}];function h(s){const a={a:"a",blockquote:"blockquote",h2:"h2",li:"li",p:"p",ul:"ul",...(0,c.R)(),...s.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(a.blockquote,{children:["\n",(0,t.jsx)(a.p,{children:"This is the data Shake automatically attaches to every ticket you receive.\nAll of this is done out of the box, you don't need to code anything."}),"\n"]}),"\n",(0,t.jsx)("p",{class:"p2 mt-40",children:(0,t.jsxs)(a.p,{children:["You're viewing the React Native docs. Other platforms \u2192 \xa0\n",(0,t.jsx)("a",{href:"/docs/ios/configuration-and-data/data-attached-by-default",children:"iOS"}),"\xa0\n",(0,t.jsx)("a",{href:"/docs/android/configuration-and-data/data-attached-by-default",children:"Android"}),"\xa0\n",(0,t.jsx)("a",{href:"/docs/flutter/configuration-and-data/data-attached-by-default",children:"Flutter"}),"\xa0\n",(0,t.jsx)("a",{href:"/docs/web/configuration-and-data/data-attached-by-default",children:"Web"}),"\xa0\n",(0,t.jsx)("a",{href:"/docs/chrome-extension/configuration-and-data/data-attached-by-default",children:"Chrome extension"}),"\xa0"]})}),"\n",(0,t.jsx)(a.h2,{id:"automatically-attached",children:"Automatically attached"}),"\n",(0,t.jsxs)("div",{class:"four-columns-default mt-50 mb-5",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("img",{class:"small-visual-icon",src:(0,l.Ay)("img/time-clock.svg")}),(0,t.jsx)("p",{class:"p2",children:"Time when the ticket was reported"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("img",{class:"small-visual-icon",src:(0,l.Ay)("img/hashtag-square.svg")}),(0,t.jsx)("p",{class:"p2",children:"Device OS"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("img",{class:"small-visual-icon",src:(0,l.Ay)("img/iphone.svg")}),(0,t.jsx)("p",{class:"p2",children:"Device model"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("img",{class:"small-visual-icon",src:(0,l.Ay)("img/pin-location-square.svg")}),(0,t.jsx)("p",{class:"p2",children:"Location"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("img",{class:"small-visual-icon",src:(0,l.Ay)("img/tools-settings.svg")}),(0,t.jsx)("p",{class:"p2",children:"Your app version"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("img",{class:"small-visual-icon",src:(0,l.Ay)("img/wifi-spot-square.svg")}),(0,t.jsx)("p",{class:"p2",children:"Connectivity details"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("img",{class:"small-visual-icon",src:(0,l.Ay)("img/nfc-icon.svg")}),(0,t.jsxs)("p",{class:"p2",children:["NFC status",(0,t.jsx)("sup",{children:" Android"})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("img",{class:"small-visual-icon",src:(0,l.Ay)("img/user-profile-profile.svg")}),(0,t.jsx)("p",{class:"p2",children:"Screen the ticket was reported from"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("img",{class:"small-visual-icon",src:(0,l.Ay)("img/user-profile-time-clock.svg")}),(0,t.jsx)("p",{class:"p2",children:"Time zone"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("img",{class:"small-visual-icon",src:(0,l.Ay)("img/battery-charge.svg")}),(0,t.jsx)("p",{class:"p2",children:"Battery status"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("img",{class:"small-visual-icon",src:(0,l.Ay)("img/business-chart.svg")}),(0,t.jsx)("p",{class:"p2",children:"Memory status"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("img",{class:"small-visual-icon",src:(0,l.Ay)("img/full-screen-zoom-square.svg")}),(0,t.jsx)("p",{class:"p2",children:"Screen resolution"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("img",{class:"small-visual-icon",src:(0,l.Ay)("img/rotate-horizontal.svg")}),(0,t.jsx)("p",{class:"p2",children:"Screen orientation"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("img",{class:"small-visual-icon",src:(0,l.Ay)("img/language-translate.svg")}),(0,t.jsx)("p",{class:"p2",children:"Locale"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("img",{class:"small-visual-icon",src:(0,l.Ay)("img/usb-flash-drive.svg")}),(0,t.jsx)("p",{class:"p2",children:"Low power mode"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("img",{class:"small-visual-icon",src:(0,l.Ay)("img/hard-drive-storage-circle.svg")}),(0,t.jsx)("p",{class:"p2",children:"Storage status"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("img",{class:"small-visual-icon",src:(0,l.Ay)("img/face-id.svg")}),(0,t.jsx)("p",{class:"p2",children:"Authentication to unlock device"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("img",{class:"small-visual-icon",src:(0,l.Ay)("img/stars-light-square.svg")}),(0,t.jsx)("p",{class:"p2",children:"Screen density"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("img",{class:"small-visual-icon",src:(0,l.Ay)("img/clock-time.svg")}),(0,t.jsx)("p",{class:"p2",children:"Timeline of app lifecycle events"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("img",{class:"small-visual-icon",src:(0,l.Ay)("img/alarm-clock-time-fast.svg")}),(0,t.jsx)("p",{class:"p2",children:"Timeline of console logs"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("img",{class:"small-visual-icon",src:(0,l.Ay)("img/programming-code.svg")}),(0,t.jsx)("p",{class:"p2",children:"IDE version"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("img",{class:"small-visual-icon",src:(0,l.Ay)("img/settings-switches-square.svg")}),(0,t.jsxs)("p",{class:"p2",children:["Granted permissions ",(0,t.jsx)("sup",{children:"1"})]})]})]}),"\n",(0,t.jsxs)("p",{children:[(0,t.jsx)("sup",{children:"1"})," Shake tracks the status of these Android runtime permissions, also known as dangerous permissions:"]}),"\n",(0,t.jsxs)(a.ul,{children:["\n",(0,t.jsx)(a.li,{children:"CALENDAR"}),"\n",(0,t.jsx)(a.li,{children:"CALL_LOG"}),"\n",(0,t.jsx)(a.li,{children:"CAMERA"}),"\n",(0,t.jsx)(a.li,{children:"CONTACTS"}),"\n",(0,t.jsx)(a.li,{children:"LOCATION"}),"\n",(0,t.jsx)(a.li,{children:"MICROPHONE"}),"\n",(0,t.jsx)(a.li,{children:"PHONE"}),"\n",(0,t.jsx)(a.li,{children:"SENSORS"}),"\n",(0,t.jsx)(a.li,{children:"SMS"}),"\n",(0,t.jsx)(a.li,{children:"STORAGE"}),"\n"]}),"\n",(0,t.jsx)(a.p,{children:"and the status of these iOS permissions:"}),"\n",(0,t.jsxs)(a.ul,{children:["\n",(0,t.jsx)(a.li,{children:"Calendar access"}),"\n",(0,t.jsx)(a.li,{children:"Camera access"}),"\n",(0,t.jsx)(a.li,{children:"Contacts access"}),"\n",(0,t.jsx)(a.li,{children:"Photo library access"}),"\n",(0,t.jsx)(a.li,{children:"Location access"}),"\n",(0,t.jsx)(a.li,{children:"Media library access"}),"\n",(0,t.jsx)(a.li,{children:"Microphone access"}),"\n"]}),"\n",(0,t.jsx)(a.p,{children:"On your Shake dashboard, only those permissions that the user has granted access to are listed.\nThe ones you don't see were either denied or not requested at all."}),"\n",(0,t.jsx)(a.h2,{id:"attach-more-data",children:"Attach more data"}),"\n",(0,t.jsxs)(a.p,{children:["If you want Shake to attach custom data to your tickets, you can do that as well.\nRead about attaching your own variables to tickets with ",(0,t.jsx)(a.a,{href:"/docs/react/configuration-and-data/ticket-metadata",children:"Ticket metadata"}),"."]}),"\n",(0,t.jsxs)(a.p,{children:["Do you also want to attach files to tickets programmatically? Visit ",(0,t.jsx)(a.a,{href:"/docs/react/configuration-and-data/auto-attach-files",children:"Auto attach files"}),"."]})]})}function u(s={}){const{wrapper:a}={...(0,c.R)(),...s.components};return a?(0,t.jsx)(a,{...s,children:(0,t.jsx)(h,{...s})}):h(s)}},8453:(s,a,e)=>{e.d(a,{R:()=>l,x:()=>n});var i=e(6540);const t={}
1,c=i.createContext(t);function l(s){const a=i.useContext(c);return i.useMemo(function(){return"function"==typeof s?s(a):{...a,...s}},[a,s])}function n(s){let a;return a=s.disableParentContext?"function"==typeof s.components?s.components(t):s.components||t:l(s.components),i.createElement(c.Provider,{value:a},s.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.